do not include some headers if vc++ is used
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 14 Dec 2010 05:56:46 +0000 (05:56 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 14 Dec 2010 05:56:46 +0000 (05:56 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@55547 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/Edje.h
src/lib/edje_private.h

index b3eeca0..8c194b7 100644 (file)
@@ -1,7 +1,9 @@
 #ifndef _EDJE_H
 #define _EDJE_H
 
-#include <stdint.h>
+#ifndef _MSC_VER
+# include <stdint.h>
+#endif
 #include <math.h>
 #include <float.h>
 #include <limits.h>
index 98c293b..b84c99d 100644 (file)
@@ -29,17 +29,17 @@ void *alloca (size_t);
 #include <time.h>
 #include <sys/time.h>
 #include <errno.h>
-#include <libgen.h>
+
+#ifndef _MSC_VER
+# include <libgen.h>
+# include <unistd.h>
+#endif
 
 #include <lua.h>
 #include <lualib.h>
 #include <lauxlib.h>
 #include <setjmp.h>
 
-#ifndef _MSC_VER
-# include <unistd.h>
-#endif
-
 #ifdef HAVE_LOCALE_H
 # include <locale.h>
 #endif