diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-12-27 03:51:38 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-12-27 03:51:38 +0000 |
commit | dac02006ddf7bd5491ec963621e3fe3da13db8e4 (patch) | |
tree | 53c7315602e2b869394a01f06fdf44df75002fd0 | |
parent | cc112f26ab845d0550e329e52bedb5e06748b859 (diff) |
following up on bug report #2921689, fixed a bunch of 'implicit declaration of function' warnings, which could cause problems on 64-bit
svn path=/trunk/externals/pdogg/; revision=12846
-rw-r--r-- | oggamp~/oggamp~.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/oggamp~/oggamp~.c b/oggamp~/oggamp~.c index d1ac186..ac488c0 100644 --- a/oggamp~/oggamp~.c +++ b/oggamp~/oggamp~.c @@ -42,7 +42,8 @@ #include <errno.h>
#include <fcntl.h>
#include <pthread.h>
-#ifdef WIN32
+#include <stdlib.h>
+#ifdef _WIN32
#include <io.h> /* for 'write' in pute-function only */
#include <winsock.h>
#include <winbase.h>
|