* include config.h in all source files
authorVincent Torri <vincent.torri@gmail.com>
Sun, 25 Oct 2009 11:19:12 +0000 (11:19 +0000)
committerVincent Torri <vincent.torri@gmail.com>
Sun, 25 Oct 2009 11:19:12 +0000 (11:19 +0000)
 * declare alloca before the standard headers
 * include Evil.h for the declaration of realpath in edje_cc_prefix.c

SVN revision: 43263

legacy/edje/src/bin/edje_cc.c
legacy/edje/src/bin/edje_cc_handlers.c
legacy/edje/src/bin/edje_cc_mem.c
legacy/edje/src/bin/edje_cc_out.c
legacy/edje/src/bin/edje_cc_parse.c
legacy/edje/src/bin/edje_cc_sources.c
legacy/edje/src/bin/edje_prefix.c

index 93b7d50..92b740a 100644 (file)
@@ -2,6 +2,10 @@
  * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
  */
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <string.h>
 #include <locale.h>
 #include <limits.h>
index 3703724..168a768 100644 (file)
     \@endproperty
 */
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <string.h>
 #include <errno.h>
 #include <sys/stat.h>
index a4c2cf8..be611ce 100644 (file)
@@ -2,6 +2,10 @@
  * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
  */
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <string.h>
 #include <errno.h>
 
index 2d61736..2c5ae3d 100644 (file)
@@ -6,11 +6,6 @@
 # include "config.h"
 #endif
 
-#include <string.h>
-#include <limits.h>
-#include <unistd.h>
-#include <sys/stat.h>
-
 #ifdef HAVE_ALLOCA_H
 # include <alloca.h>
 #elif defined __GNUC__
@@ -28,6 +23,11 @@ extern "C"
 void *alloca (size_t);
 #endif
 
+#include <string.h>
+#include <limits.h>
+#include <unistd.h>
+#include <sys/stat.h>
+
 #include <Ecore_Evas.h>
 
 #include "edje_cc.h"
index 1c3306f..f438c45 100644 (file)
@@ -6,15 +6,6 @@
 # include <config.h>
 #endif
 
-#include <string.h>
-#include <ctype.h>
-#include <limits.h>
-#include <errno.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <unistd.h>
-#include <fcntl.h>
-
 #ifdef HAVE_ALLOCA_H
 # include <alloca.h>
 #elif defined __GNUC__
@@ -32,6 +23,15 @@ extern "C"
 void *alloca (size_t);
 #endif
 
+#include <string.h>
+#include <ctype.h>
+#include <limits.h>
+#include <errno.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <unistd.h>
+#include <fcntl.h>
+
 #include "edje_cc.h"
 
 static void  new_object(void);
index 5c52e7d..5778a5e 100644 (file)
@@ -2,6 +2,10 @@
  * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
  */
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <string.h>
 #include <ctype.h>
 #include <limits.h>
index 18f45b9..9a8fb21 100644 (file)
 #include <time.h>
 #include <dirent.h>
 
+#ifdef HAVE_EVIL
+# include <Evil.h>
+#endif
+
 #include "edje_prefix.h"
 
 #ifdef _WIN32