Browse Source

Fixed warning on Mac OS X

Sam Lantinga 11 năm trước cách đây
mục cha
commit
25919bf252
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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 */