瀏覽代碼

Fixed warning on Mac OS X

Sam Lantinga 11 年之前
父節點
當前提交
25919bf252
共有 1 個文件被更改,包括 4 次插入0 次删除
  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 */