aboutsummaryrefslogtreecommitdiff
path: root/manual tests/2 multiwrap/prog.c
diff options
context:
space:
mode:
Diffstat (limited to 'manual tests/2 multiwrap/prog.c')
-rw-r--r--manual tests/2 multiwrap/prog.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/manual tests/2 multiwrap/prog.c b/manual tests/2 multiwrap/prog.c
index 13a5e03..dd0349e 100644
--- a/manual tests/2 multiwrap/prog.c
+++ b/manual tests/2 multiwrap/prog.c
@@ -2,8 +2,10 @@
#include<stdio.h>
#include<stdlib.h>
#include<png.h>
-#include<unistd.h>
#include<string.h>
+#if !defined(_MSC_VER)
+#include<unistd.h>
+#endif
static void *l_alloc (void *ud, void *ptr, size_t osize,
size_t nsize) {