Commit 25919bf252b31d7a37b06153d6807521a79d8918

Sam Lantinga 2014-03-23T23:08:26

Fixed warning on Mac OS X

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/test/testautomation_surface.c b/test/testautomation_surface.c
index d814918..b517c77 100644
--- a/test/testautomation_surface.c
+++ b/test/testautomation_surface.c
@@ -13,6 +13,10 @@
 #include "SDL.h"
 #include "SDL_test.h"
 
+#ifdef __MACOSX__
+#include <unistd.h> /* For unlink() */
+#endif
+
 /* ================= Test Case Implementation ================== */
 
 /* Shared test surface */