From 7e291452c47380ff6c2f1383edb42cc83e2e6e1f Mon Sep 17 00:00:00 2001 From: Jonathan Wilkes <jon.w.wilkes@gmail.com> Date: Sun, 28 Aug 2022 22:06:01 -0400 Subject: [PATCH] use system header for all platforms --- externals/OSCx/libOSC/OSC-client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/externals/OSCx/libOSC/OSC-client.c b/externals/OSCx/libOSC/OSC-client.c index cea9e78dc..aa2dccfbf 100644 --- a/externals/OSCx/libOSC/OSC-client.c +++ b/externals/OSCx/libOSC/OSC-client.c @@ -52,10 +52,11 @@ MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. #define DONE 4 /* All open bundles have been closed, so can't write anything else */ +#include <stdio.h> + #ifdef WIN32 #include <winsock2.h> #include <io.h> - #include <stdio.h> #include <errno.h> #include <fcntl.h> #include <sys/types.h> @@ -68,7 +69,6 @@ MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. #ifdef unix #include <netinet/in.h> - #include <stdio.h> #endif #include "OSC-client.h" -- GitLab