Explorar o código

Fixed warning on Mac OS X

Sam Lantinga %!s(int64=11) %!d(string=hai) anos
pai
achega
25919bf252
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      test/testautomation_surface.c

+ 4 - 0
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 */