diff options
-rw-r--r-- | streamin13~.c | 3 | ||||
-rw-r--r-- | streamout13~.c | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/streamin13~.c b/streamin13~.c index c950b0e..1ddfbe8 100644 --- a/streamin13~.c +++ b/streamin13~.c @@ -17,8 +17,7 @@ #include <winsock2.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 ) 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 ) |