Merged r2999:3000 from branches/SDL-1.2: Visual Studio compilation fix.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 30 Mar 2007 06:30:14 +0000
changeset 2099891ed60fcaa9
parent 2098 e554a6547303
child 2100 62debeaac5e9
Merged r2999:3000 from branches/SDL-1.2: Visual Studio compilation fix.
test/testfile.c
     1.1 --- a/test/testfile.c	Tue Mar 27 00:39:03 2007 +0000
     1.2 +++ b/test/testfile.c	Fri Mar 30 06:30:14 2007 +0000
     1.3 @@ -2,7 +2,10 @@
     1.4  /* sanity tests on SDL_rwops.c (usefull for alternative implementations of stdio rwops) */
     1.5  
     1.6  #include <stdlib.h>
     1.7 +
     1.8 +#ifndef _MSC_VER
     1.9  #include <unistd.h>
    1.10 +#endif
    1.11  
    1.12  #include "SDL.h"
    1.13  #include "SDL_endian.h"