diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2005-11-15 06:16:39 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2005-11-15 06:16:39 +0000 |
commit | 5c1fcb168dde7299ff173372f100a68c88771f72 (patch) | |
tree | fb6fc1ae3e2feffc00f9ccafef874fb191ca8527 | |
parent | def39682628f0b5575d61bf5b6ce259c5da11d0c (diff) |
minor compile fixes for Mac OS X and MinGW
svn path=/trunk/externals/ext13/; revision=3910
-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 ) |