changeset 2099:891ed60fcaa9

Merged r2999:3000 from branches/SDL-1.2: Visual Studio compilation fix.
author Ryan C. Gordon <icculus@icculus.org>
date Fri, 30 Mar 2007 06:30:14 +0000
parents e554a6547303
children 62debeaac5e9
files test/testfile.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test/testfile.c	Tue Mar 27 00:39:03 2007 +0000
+++ b/test/testfile.c	Fri Mar 30 06:30:14 2007 +0000
@@ -2,7 +2,10 @@
 /* sanity tests on SDL_rwops.c (usefull for alternative implementations of stdio rwops) */
 
 #include <stdlib.h>
+
+#ifndef _MSC_VER
 #include <unistd.h>
+#endif
 
 #include "SDL.h"
 #include "SDL_endian.h"