include the headers in the correct order so that EAPI is correctly defined on Windows
authorwatchwolf <watchwolf@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 19 Dec 2008 20:54:13 +0000 (20:54 +0000)
committerwatchwolf <watchwolf@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 19 Dec 2008 20:54:13 +0000 (20:54 +0000)
from caro

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

src/lib/ecore/ecore_getopt.c

index 4607714..11a0b6a 100644 (file)
@@ -1,10 +1,16 @@
-#include "Ecore_Getopt.h"
-#include <Ecore.h>
-#include <string.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #include <stdio.h>
+#include <string.h>
 #include <stdarg.h>
 #include <ctype.h>
 
+#include <Ecore.h>
+
+#include "Ecore_Getopt.h"
+
 static const char *prog = NULL;
 static char **argv = NULL;
 static int argc = 0;