* include config.h in all source files

* declare alloca before the standard headers
 * include Evil.h for the declaration of realpath in edje_cc_prefix.c

SVN revision: 43263
This commit is contained in:
Vincent Torri 2009-10-25 11:19:12 +00:00
parent 61bdd4cb94
commit 3c48d7e6d0
7 changed files with 34 additions and 14 deletions

View 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>

View File

@ -28,6 +28,10 @@
\@endproperty
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <string.h>
#include <errno.h>
#include <sys/stat.h>

View 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>

View 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"

View 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);

View 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>

View File

@ -21,6 +21,10 @@
#include <time.h>
#include <dirent.h>
#ifdef HAVE_EVIL
# include <Evil.h>
#endif
#include "edje_prefix.h"
#ifdef _WIN32