summaryrefslogtreecommitdiff
path: root/legacy/efreet/src/lib/efreet_desktop_command.c
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2010-11-25 23:48:59 +0000
committerVincent Torri <vincent.torri@gmail.com>2010-11-25 23:48:59 +0000
commit42f57e9fc35e12248328828c826d5a8fa561935f (patch)
treee2c4ad6c15b3e05b6892031b1540472a05844a7b /legacy/efreet/src/lib/efreet_desktop_command.c
parent32c3f22f70f19576cc77c2a17af01e381c4d2c48 (diff)
put alloca declaration after config.h
SVN revision: 55001
Diffstat (limited to '')
-rw-r--r--legacy/efreet/src/lib/efreet_desktop_command.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/legacy/efreet/src/lib/efreet_desktop_command.c b/legacy/efreet/src/lib/efreet_desktop_command.c
index 55327db273..379f028100 100644
--- a/legacy/efreet/src/lib/efreet_desktop_command.c
+++ b/legacy/efreet/src/lib/efreet_desktop_command.c
@@ -2,6 +2,24 @@
2# include <config.h> 2# include <config.h>
3#endif 3#endif
4 4
5#undef alloca
6#ifdef HAVE_ALLOCA_H
7# include <alloca.h>
8#elif defined __GNUC__
9# define alloca __builtin_alloca
10#elif defined _AIX
11# define alloca __alloca
12#elif defined _MSC_VER
13# include <malloc.h>
14# define alloca _alloca
15#else
16# include <stddef.h>
17# ifdef __cplusplus
18extern "C"
19# endif
20void *alloca (size_t);
21#endif
22
5#include <sys/types.h> 23#include <sys/types.h>
6#include <unistd.h> 24#include <unistd.h>
7#include <limits.h> 25#include <limits.h>