summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_selection.c
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2012-11-23 22:38:23 +0000
committerVincent Torri <vincent.torri@gmail.com>2012-11-23 22:38:23 +0000
commit47a3d97885b80f1e703b55ecd491aabf287fc1dc (patch)
treeb026ba1d2cdddb182b5cc57517fbc997aa98038b /legacy/ecore/src/lib/ecore_x/xlib/ecore_x_selection.c
parenta79a4408e4a80f202b987fbe700afa78f469593d (diff)
Ecore: fix alloca declaration
SVN revision: 79613
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_selection.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_selection.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_selection.c
index 476621a289..099f9f49ee 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_selection.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_selection.c
@@ -2,6 +2,32 @@
2# include <config.h> 2# include <config.h>
3#endif /* ifdef HAVE_CONFIG_H */ 3#endif /* ifdef HAVE_CONFIG_H */
4 4
5#ifdef STDC_HEADERS
6# include <stdlib.h>
7# include <stddef.h>
8#else
9# ifdef HAVE_STDLIB_H
10# include <stdlib.h>
11# endif
12#endif
13#ifdef HAVE_ALLOCA_H
14# include <alloca.h>
15#elif !defined alloca
16# ifdef __GNUC__
17# define alloca __builtin_alloca
18# elif defined _AIX
19# define alloca __alloca
20# elif defined _MSC_VER
21# include <malloc.h>
22# define alloca _alloca
23# elif !defined HAVE_ALLOCA
24# ifdef __cplusplus
25extern "C"
26# endif
27void *alloca (size_t);
28# endif
29#endif
30
5#include <stdlib.h> 31#include <stdlib.h>
6#include <string.h> 32#include <string.h>
7 33