fix warning with mingw32ce (getenv not declared)
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 26 Feb 2009 07:08:12 +0000 (07:08 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 26 Feb 2009 07:08:12 +0000 (07:08 +0000)
fix compilation with mingw32ce (EAPI not correctly defined)

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@39237 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore/Ecore_Data.h
src/lib/ecore/ecore_getopt.c
src/lib/ecore/ecore_value.c

index 2397ccb..0daf6c1 100644 (file)
@@ -1,6 +1,11 @@
 #ifndef _ECORE_DATA_H
 # define _ECORE_DATA_H
 
+/* we need this for size_t */
+#include <stddef.h>
+
+#include <Eina.h>
+
 #ifdef EAPI
 # undef EAPI
 #endif
 # endif
 #endif /* ! _WIN32 */
 
-/* we need this for size_t */
-#include <stddef.h>
-
-#include <Eina.h>
-
 /**
  * @file Ecore_Data.h
  * @brief Contains threading, list, hash, debugging and tree functions.
index 75c198c..c8c2680 100644 (file)
 #include <stdarg.h>
 #include <ctype.h>
 
+#ifdef _WIN32_WCE
+# include <Evil.h>
+#endif
+
 #include "Ecore.h"
 #include "Ecore_Getopt.h"
 
index 4589fec..ea098f6 100644 (file)
@@ -35,6 +35,10 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 #include <stdio.h>
 #include <string.h>
 
+#ifdef _WIN32_WCE
+# include <Evil.h>
+#endif
+
 #include "Ecore.h"
 #include "Ecore_Data.h"
 #include "ecore_private.h"