vc++ does not like unistd.h. Actually, maybe we should check some
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 17 Dec 2010 17:00:57 +0000 (17:00 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 17 Dec 2010 17:00:57 +0000 (17:00 +0000)
non standard headers in configure.ac and guard them appropriately

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@55613 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/canvas/evas_async_events.c

index 93f0f50..a88620d 100644 (file)
@@ -3,7 +3,9 @@
 
 #ifdef BUILD_ASYNC_EVENTS
 
-#include <unistd.h>
+#ifndef _MSC_VER
+# include <unistd.h>
+#endif
 #include <fcntl.h>
 #include <errno.h>