aboutsummaryrefslogtreecommitdiff
path: root/streamout13~.c
diff options
context:
space:
mode:
Diffstat (limited to 'streamout13~.c')
-rw-r--r--streamout13~.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/streamout13~.c b/streamout13~.c
index 15b7440..02dc92f 100644
--- a/streamout13~.c
+++ b/streamout13~.c
@@ -13,6 +13,11 @@
#include <winsock.h>
#endif
+#ifdef __APPLE__
+#include <unistd.h>
+#endif
+
+/* these pragmas are only used for MSVC, not MinGW or Cygwin <hans@at.or.at> */
#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )