aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--oggamp~/oggamp~.c3
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>