summaryrefslogtreecommitdiff
path: root/legacy/efreet/src/lib/efreet_desktop_command.c
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2012-11-24 06:43:00 +0000
committerSebastian Dransfeld <sd@tango.flipp.net>2012-11-24 06:43:00 +0000
commit92b5baaea40c769a87ed29cec6bca90038e6016c (patch)
tree8e0797c6a0a4f4bb3e8b39bbd55cf38dc8a4bc72 /legacy/efreet/src/lib/efreet_desktop_command.c
parentdde5848ab1bf7b60e7b9e9e31c1911f380a3c969 (diff)
efreet: fix alloca
SVN revision: 79629
Diffstat (limited to '')
-rw-r--r--legacy/efreet/src/lib/efreet_desktop_command.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/legacy/efreet/src/lib/efreet_desktop_command.c b/legacy/efreet/src/lib/efreet_desktop_command.c
index bf97f8fdfa..f7f4d13532 100644
--- a/legacy/efreet/src/lib/efreet_desktop_command.c
+++ b/legacy/efreet/src/lib/efreet_desktop_command.c
@@ -2,23 +2,7 @@
2# include <config.h> 2# include <config.h>
3#endif 3#endif
4 4
5#undef alloca 5#include "efreet_alloca.h"
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 6
23#include <unistd.h> 7#include <unistd.h>
24#include <ctype.h> 8#include <ctype.h>