Commit b0ebfabf333563c123ed8d038031a60fa19b5092

Ryan C. Gordon 2014-12-24T02:06:38

Patched to compile on Windows.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/test/testautomation_surface.c b/test/testautomation_surface.c
index 43fc24e..d04db19 100644
--- a/test/testautomation_surface.c
+++ b/test/testautomation_surface.c
@@ -8,7 +8,9 @@
 #define _CRT_NONSTDC_NO_DEPRECATE
 
 #include <stdio.h>
+#ifndef __WIN32__
 #include <unistd.h>
+#endif
 #include <sys/stat.h>
 
 #include "SDL.h"