aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-12-13 23:42:17 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-12-13 23:42:17 +0000
commit5a1f1574ae177239ff6ac1a8964a840c2b11f3e6 (patch)
tree4b1aec7c27da262edbcbc682e56934be9a7a9ece
parente1f0d7064d41ad7e1ee41375253f93c43db4dc32 (diff)
MinGW build fixes
svn path=/trunk/externals/OSCx/; revision=15816
-rw-r--r--src/OSCroute.c8
-rw-r--r--src/dumpOSC.c1
-rw-r--r--src/htmsocket.c1
3 files changed, 3 insertions, 7 deletions
diff --git a/src/OSCroute.c b/src/OSCroute.c
index 896f43a..c3afc89 100644
--- a/src/OSCroute.c
+++ b/src/OSCroute.c
@@ -53,16 +53,10 @@ The OSC webpage is http://cnmat.cnmat.berkeley.edu/OpenSoundControl
#include "OSC-common.h"
#include "OSC-pattern-match.h"
+#include <stdio.h>
#ifdef _WIN32
#include <stdlib.h>
#include <string.h>
- #include <stdio.h>
-#endif
-#ifdef __APPLE__
- #include <stdio.h>
-#endif
-#ifdef UNIX
- #include <stdio.h>
#endif
/* structure definition of your object */
diff --git a/src/dumpOSC.c b/src/dumpOSC.c
index 28405c3..8d7de18 100644
--- a/src/dumpOSC.c
+++ b/src/dumpOSC.c
@@ -95,6 +95,7 @@ The OSC webpage is http://cnmat.cnmat.berkeley.edu/OpenSoundControl
#include <ctype.h>
#include <signal.h>
#include <stdio.h>
+ #include <stdint.h>
#include <ws2tcpip.h>
#else
#include <stdio.h>
diff --git a/src/htmsocket.c b/src/htmsocket.c
index 3abd7f6..16a1050 100644
--- a/src/htmsocket.c
+++ b/src/htmsocket.c
@@ -55,6 +55,7 @@ The OSC webpage is http://cnmat.cnmat.berkeley.edu/OpenSoundControl
#include <stdlib.h>
#include "OSC-common.h"
#include <stdio.h>
+ #include <io.h>
#include <ws2tcpip.h>
#else
#include <stdio.h>