fix vc++ compilation
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 17 Apr 2010 05:35:13 +0000 (05:35 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 17 Apr 2010 05:35:13 +0000 (05:35 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@48064 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_evas/ecore_evas.c

index adb43c8..eda08f3 100644 (file)
@@ -8,9 +8,12 @@
 
 #include <string.h>
 #include <sys/types.h>
-#include <unistd.h>
 #include <errno.h>
 
+#ifndef _MSC_VER
+# include <unistd.h>
+#endif
+
 #include "Ecore.h"
 #include "ecore_private.h"
 #include "Ecore_Input.h"