Fixed warning on Mac OS X

This commit is contained in:
Sam Lantinga 2014-03-23 23:08:26 -07:00
parent 3317e4340d
commit 25919bf252
1 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,10 @@
#include "SDL.h" #include "SDL.h"
#include "SDL_test.h" #include "SDL_test.h"
#ifdef __MACOSX__
#include <unistd.h> /* For unlink() */
#endif
/* ================= Test Case Implementation ================== */ /* ================= Test Case Implementation ================== */
/* Shared test surface */ /* Shared test surface */