Fixed warning on Mac OS X
authorSam Lantinga <slouken@libsdl.org>
Sun, 23 Mar 2014 23:08:26 -0700
changeset 867350135c28f7cf
parent 8672 763f551235af
child 8674 d7d2e69a0b08
Fixed warning on Mac OS X
test/testautomation_surface.c
     1.1 --- a/test/testautomation_surface.c	Sun Mar 23 22:53:50 2014 -0700
     1.2 +++ b/test/testautomation_surface.c	Sun Mar 23 23:08:26 2014 -0700
     1.3 @@ -13,6 +13,10 @@
     1.4  #include "SDL.h"
     1.5  #include "SDL_test.h"
     1.6  
     1.7 +#ifdef __MACOSX__
     1.8 +#include <unistd.h> /* For unlink() */
     1.9 +#endif
    1.10 +
    1.11  /* ================= Test Case Implementation ================== */
    1.12  
    1.13  /* Shared test surface */