summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_alloc.c18
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_exe.c18
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_getopt.c35
-rw-r--r--legacy/ecore/src/lib/ecore_con/dns.c18
-rw-r--r--legacy/ecore/src/lib/ecore_con/ecore_con.c18
-rw-r--r--legacy/ecore/src/lib/ecore_con/ecore_con_alloc.c18
-rw-r--r--legacy/ecore/src/lib/ecore_con/ecore_con_eet.c18
-rw-r--r--legacy/ecore/src/lib/ecore_con/ecore_con_info.c1
-rw-r--r--legacy/ecore/src/lib/ecore_con/ecore_con_local_win32.c18
-rw-r--r--legacy/ecore/src/lib/ecore_con/ecore_con_socks.c18
-rw-r--r--legacy/ecore/src/lib/ecore_con/ecore_con_ssl.c18
-rw-r--r--legacy/ecore/src/lib/ecore_config/ecore_config.c18
-rw-r--r--legacy/ecore/src/lib/ecore_evas/ecore_evas_extn.c18
-rw-r--r--legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_egl.c18
-rw-r--r--legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_shm.c18
-rw-r--r--legacy/ecore/src/lib/ecore_fb/ecore_fb_vt.c18
-rw-r--r--legacy/ecore/src/lib/ecore_file/ecore_file.c18
-rw-r--r--legacy/ecore/src/lib/ecore_file/ecore_file_monitor.c18
-rw-r--r--legacy/ecore/src/lib/ecore_imf/ecore_imf_context.c18
-rw-r--r--legacy/ecore/src/lib/ecore_ipc/ecore_ipc.c18
-rw-r--r--legacy/ecore/src/lib/ecore_wayland/ecore_wl.c18
-rw-r--r--legacy/ecore/src/lib/ecore_wayland/ecore_wl_output.c18
-rw-r--r--legacy/ecore/src/lib/ecore_wayland/ecore_wl_window.c18
-rw-r--r--legacy/ecore/src/lib/ecore_win32/ecore_win32_window.c18
-rw-r--r--legacy/ecore/src/lib/ecore_wince/ecore_wince_window.c18
-rw-r--r--legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_e.c22
-rw-r--r--legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_image.c22
-rw-r--r--legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_selection.c22
-rw-r--r--legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_window.c22
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x.c18
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_atoms.c1
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_e.c18
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_image.c18
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c18
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_selection.c18
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window_prop.c18
36 files changed, 630 insertions, 17 deletions
diff --git a/legacy/ecore/src/lib/ecore/ecore_alloc.c b/legacy/ecore/src/lib/ecore/ecore_alloc.c
index bec66ef0d5..fc51e50319 100644
--- a/legacy/ecore/src/lib/ecore/ecore_alloc.c
+++ b/legacy/ecore/src/lib/ecore/ecore_alloc.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 <stdlib.h> 23#include <stdlib.h>
6 24
7#include <Eina.h> 25#include <Eina.h>
diff --git a/legacy/ecore/src/lib/ecore/ecore_exe.c b/legacy/ecore/src/lib/ecore/ecore_exe.c
index 7cc4b0f3bb..f3f5220226 100644
--- a/legacy/ecore/src/lib/ecore/ecore_exe.c
+++ b/legacy/ecore/src/lib/ecore/ecore_exe.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 <stdlib.h> 23#include <stdlib.h>
6#include <stdio.h> 24#include <stdio.h>
7#include <string.h> 25#include <string.h>
diff --git a/legacy/ecore/src/lib/ecore/ecore_getopt.c b/legacy/ecore/src/lib/ecore/ecore_getopt.c
index 377d310f53..d3ffb282f3 100644
--- a/legacy/ecore/src/lib/ecore/ecore_getopt.c
+++ b/legacy/ecore/src/lib/ecore/ecore_getopt.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#ifdef STDC_HEADERS 23#ifdef STDC_HEADERS
6# include <stdlib.h> 24# include <stdlib.h>
7# include <stddef.h> 25# include <stddef.h>
@@ -10,23 +28,6 @@
10# include <stdlib.h> 28# include <stdlib.h>
11# endif 29# endif
12#endif 30#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 31
31#include <stdlib.h> 32#include <stdlib.h>
32#include <stdio.h> 33#include <stdio.h>
diff --git a/legacy/ecore/src/lib/ecore_con/dns.c b/legacy/ecore/src/lib/ecore_con/dns.c
index b92a3156f5..f7a0b54ef2 100644
--- a/legacy/ecore/src/lib/ecore_con/dns.c
+++ b/legacy/ecore/src/lib/ecore_con/dns.c
@@ -27,6 +27,24 @@
27# include "config.h" 27# include "config.h"
28#endif 28#endif
29 29
30#undef alloca
31#ifdef HAVE_ALLOCA_H
32# include <alloca.h>
33#elif defined __GNUC__
34# define alloca __builtin_alloca
35#elif defined _AIX
36# define alloca __alloca
37#elif defined _MSC_VER
38# include <malloc.h>
39# define alloca _alloca
40#else
41# include <stddef.h>
42# ifdef __cplusplus
43extern "C"
44# endif
45void *alloca (size_t);
46#endif
47
30#if !defined(__FreeBSD__) 48#if !defined(__FreeBSD__)
31#ifndef _XOPEN_SOURCE 49#ifndef _XOPEN_SOURCE
32#define _XOPEN_SOURCE 600 50#define _XOPEN_SOURCE 600
diff --git a/legacy/ecore/src/lib/ecore_con/ecore_con.c b/legacy/ecore/src/lib/ecore_con/ecore_con.c
index 6298d0483a..1b253b997b 100644
--- a/legacy/ecore/src/lib/ecore_con/ecore_con.c
+++ b/legacy/ecore/src/lib/ecore_con/ecore_con.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 <stdio.h> 23#include <stdio.h>
6#include <string.h> 24#include <string.h>
7#include <sys/types.h> 25#include <sys/types.h>
diff --git a/legacy/ecore/src/lib/ecore_con/ecore_con_alloc.c b/legacy/ecore/src/lib/ecore_con/ecore_con_alloc.c
index 324d47d100..11ad036ee2 100644
--- a/legacy/ecore/src/lib/ecore_con/ecore_con_alloc.c
+++ b/legacy/ecore/src/lib/ecore_con/ecore_con_alloc.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 "Ecore.h" 23#include "Ecore.h"
6#include "ecore_private.h" 24#include "ecore_private.h"
7#include "Ecore_Con.h" 25#include "Ecore_Con.h"
diff --git a/legacy/ecore/src/lib/ecore_con/ecore_con_eet.c b/legacy/ecore/src/lib/ecore_con/ecore_con_eet.c
index ece348ef8d..6802fe3050 100644
--- a/legacy/ecore/src/lib/ecore_con/ecore_con_eet.c
+++ b/legacy/ecore/src/lib/ecore_con/ecore_con_eet.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 <Eina.h> 23#include <Eina.h>
6 24
7#include "Ecore_Con_Eet.h" 25#include "Ecore_Con_Eet.h"
diff --git a/legacy/ecore/src/lib/ecore_con/ecore_con_info.c b/legacy/ecore/src/lib/ecore_con/ecore_con_info.c
index fdcf0b9a58..afd90a4842 100644
--- a/legacy/ecore/src/lib/ecore_con/ecore_con_info.c
+++ b/legacy/ecore/src/lib/ecore_con/ecore_con_info.c
@@ -9,6 +9,7 @@
9# include <config.h> 9# include <config.h>
10#endif 10#endif
11 11
12#undef alloca
12#ifdef HAVE_ALLOCA_H 13#ifdef HAVE_ALLOCA_H
13# include <alloca.h> 14# include <alloca.h>
14#elif defined __GNUC__ 15#elif defined __GNUC__
diff --git a/legacy/ecore/src/lib/ecore_con/ecore_con_local_win32.c b/legacy/ecore/src/lib/ecore_con/ecore_con_local_win32.c
index 2b7e5c5bd2..67b1717617 100644
--- a/legacy/ecore/src/lib/ecore_con/ecore_con_local_win32.c
+++ b/legacy/ecore/src/lib/ecore_con/ecore_con_local_win32.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 <process.h> 23#include <process.h>
6 24
7#include <Evil.h> 25#include <Evil.h>
diff --git a/legacy/ecore/src/lib/ecore_con/ecore_con_socks.c b/legacy/ecore/src/lib/ecore_con/ecore_con_socks.c
index ad9b9ca23e..4e0abd355f 100644
--- a/legacy/ecore/src/lib/ecore_con/ecore_con_socks.c
+++ b/legacy/ecore/src/lib/ecore_con/ecore_con_socks.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 <stdio.h> 23#include <stdio.h>
6#include <string.h> 24#include <string.h>
7#include <sys/types.h> 25#include <sys/types.h>
diff --git a/legacy/ecore/src/lib/ecore_con/ecore_con_ssl.c b/legacy/ecore/src/lib/ecore_con/ecore_con_ssl.c
index 1027dbb118..3eb59b342b 100644
--- a/legacy/ecore/src/lib/ecore_con/ecore_con_ssl.c
+++ b/legacy/ecore/src/lib/ecore_con/ecore_con_ssl.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#if USE_GNUTLS 23#if USE_GNUTLS
6# include <gnutls/gnutls.h> 24# include <gnutls/gnutls.h>
7# include <gnutls/x509.h> 25# include <gnutls/x509.h>
diff --git a/legacy/ecore/src/lib/ecore_config/ecore_config.c b/legacy/ecore/src/lib/ecore_config/ecore_config.c
index e81538eb62..d8194fea0b 100644
--- a/legacy/ecore/src/lib/ecore_config/ecore_config.c
+++ b/legacy/ecore/src/lib/ecore_config/ecore_config.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 <string.h> 23#include <string.h>
6#include <ctype.h> 24#include <ctype.h>
7#include <stdio.h> 25#include <stdio.h>
diff --git a/legacy/ecore/src/lib/ecore_evas/ecore_evas_extn.c b/legacy/ecore/src/lib/ecore_evas/ecore_evas_extn.c
index c192a3a82b..24ecc6416e 100644
--- a/legacy/ecore/src/lib/ecore_evas/ecore_evas_extn.c
+++ b/legacy/ecore/src/lib/ecore_evas/ecore_evas_extn.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 <stdio.h> 23#include <stdio.h>
6#include <stdlib.h> 24#include <stdlib.h>
7#include <sys/types.h> 25#include <sys/types.h>
diff --git a/legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_egl.c b/legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_egl.c
index 430da4b8cb..e2a27816f4 100644
--- a/legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_egl.c
+++ b/legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_egl.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//#define LOGFNS 1 23//#define LOGFNS 1
6 24
7#ifdef LOGFNS 25#ifdef LOGFNS
diff --git a/legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_shm.c b/legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_shm.c
index f587e3da5c..c6e8ec3ffe 100644
--- a/legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_shm.c
+++ b/legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_shm.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//#define LOGFNS 1 23//#define LOGFNS 1
6 24
7#ifdef LOGFNS 25#ifdef LOGFNS
diff --git a/legacy/ecore/src/lib/ecore_fb/ecore_fb_vt.c b/legacy/ecore/src/lib/ecore_fb/ecore_fb_vt.c
index 09e3f37c1b..2cfe55b0c1 100644
--- a/legacy/ecore/src/lib/ecore_fb/ecore_fb_vt.c
+++ b/legacy/ecore/src/lib/ecore_fb/ecore_fb_vt.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 "Ecore_Fb.h" 23#include "Ecore_Fb.h"
6#include "ecore_fb_private.h" 24#include "ecore_fb_private.h"
7 25
diff --git a/legacy/ecore/src/lib/ecore_file/ecore_file.c b/legacy/ecore/src/lib/ecore_file/ecore_file.c
index 6876511fc6..b276e33580 100644
--- a/legacy/ecore/src/lib/ecore_file/ecore_file.c
+++ b/legacy/ecore/src/lib/ecore_file/ecore_file.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 <stdlib.h> 23#include <stdlib.h>
6#include <stdio.h> 24#include <stdio.h>
7#include <string.h> 25#include <string.h>
diff --git a/legacy/ecore/src/lib/ecore_file/ecore_file_monitor.c b/legacy/ecore/src/lib/ecore_file/ecore_file_monitor.c
index 8b07589a9e..ee0d8821ad 100644
--- a/legacy/ecore/src/lib/ecore_file/ecore_file_monitor.c
+++ b/legacy/ecore/src/lib/ecore_file/ecore_file_monitor.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 "ecore_file_private.h" 23#include "ecore_file_private.h"
6 24
7typedef enum { 25typedef enum {
diff --git a/legacy/ecore/src/lib/ecore_imf/ecore_imf_context.c b/legacy/ecore/src/lib/ecore_imf/ecore_imf_context.c
index d9aeca9836..cd8ef81c34 100644
--- a/legacy/ecore/src/lib/ecore_imf/ecore_imf_context.c
+++ b/legacy/ecore/src/lib/ecore_imf/ecore_imf_context.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 <stdlib.h> 23#include <stdlib.h>
6#include <string.h> 24#include <string.h>
7#include <locale.h> 25#include <locale.h>
diff --git a/legacy/ecore/src/lib/ecore_ipc/ecore_ipc.c b/legacy/ecore/src/lib/ecore_ipc/ecore_ipc.c
index 0480001aa5..b62295b989 100644
--- a/legacy/ecore/src/lib/ecore_ipc/ecore_ipc.c
+++ b/legacy/ecore/src/lib/ecore_ipc/ecore_ipc.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 <string.h> 23#include <string.h>
6 24
7#ifdef HAVE_NETINET_IN_H 25#ifdef HAVE_NETINET_IN_H
diff --git a/legacy/ecore/src/lib/ecore_wayland/ecore_wl.c b/legacy/ecore/src/lib/ecore_wayland/ecore_wl.c
index 8abfc74bfa..44196853fa 100644
--- a/legacy/ecore/src/lib/ecore_wayland/ecore_wl.c
+++ b/legacy/ecore/src/lib/ecore_wayland/ecore_wl.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 <fcntl.h> 23#include <fcntl.h>
6#include "ecore_wl_private.h" 24#include "ecore_wl_private.h"
7 25
diff --git a/legacy/ecore/src/lib/ecore_wayland/ecore_wl_output.c b/legacy/ecore/src/lib/ecore_wayland/ecore_wl_output.c
index c30086d053..d8db6e4ad8 100644
--- a/legacy/ecore/src/lib/ecore_wayland/ecore_wl_output.c
+++ b/legacy/ecore/src/lib/ecore_wayland/ecore_wl_output.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 "ecore_wl_private.h" 23#include "ecore_wl_private.h"
6 24
7/* local function prototypes */ 25/* local function prototypes */
diff --git a/legacy/ecore/src/lib/ecore_wayland/ecore_wl_window.c b/legacy/ecore/src/lib/ecore_wayland/ecore_wl_window.c
index 80b443b4ca..1138b32116 100644
--- a/legacy/ecore/src/lib/ecore_wayland/ecore_wl_window.c
+++ b/legacy/ecore/src/lib/ecore_wayland/ecore_wl_window.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 "ecore_wl_private.h" 23#include "ecore_wl_private.h"
6 24
7/* local function prototypes */ 25/* local function prototypes */
diff --git a/legacy/ecore/src/lib/ecore_win32/ecore_win32_window.c b/legacy/ecore/src/lib/ecore_win32/ecore_win32_window.c
index 36f8a86047..c6fa105223 100644
--- a/legacy/ecore/src/lib/ecore_win32/ecore_win32_window.c
+++ b/legacy/ecore/src/lib/ecore_win32/ecore_win32_window.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 <stdlib.h> 23#include <stdlib.h>
6#include <stdio.h> /* for printf */ 24#include <stdio.h> /* for printf */
7 25
diff --git a/legacy/ecore/src/lib/ecore_wince/ecore_wince_window.c b/legacy/ecore/src/lib/ecore_wince/ecore_wince_window.c
index 49a6312da3..4f493da8c3 100644
--- a/legacy/ecore/src/lib/ecore_wince/ecore_wince_window.c
+++ b/legacy/ecore/src/lib/ecore_wince/ecore_wince_window.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#define WIN32_LEAN_AND_MEAN 23#define WIN32_LEAN_AND_MEAN
6#include <windows.h> 24#include <windows.h>
7#undef WIN32_LEAN_AND_MEAN 25#undef WIN32_LEAN_AND_MEAN
diff --git a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_e.c b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_e.c
index 82d94b634f..b13e566abb 100644
--- a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_e.c
+++ b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_e.c
@@ -1,3 +1,25 @@
1#ifdef HAVE_CONFIG_H
2# include <config.h>
3#endif
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
1#include "ecore_xcb_private.h" 23#include "ecore_xcb_private.h"
2 24
3/* local function prototypes */ 25/* local function prototypes */
diff --git a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_image.c b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_image.c
index 8e221101b0..92c8c9c2f2 100644
--- a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_image.c
+++ b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_image.c
@@ -1,3 +1,25 @@
1#ifdef HAVE_CONFIG_H
2# include <config.h>
3#endif
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
1#include "ecore_xcb_private.h" 23#include "ecore_xcb_private.h"
2#include <sys/ipc.h> 24#include <sys/ipc.h>
3#include <sys/shm.h> 25#include <sys/shm.h>
diff --git a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_selection.c b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_selection.c
index 288d776b2f..be4a37e1cc 100644
--- a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_selection.c
+++ b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_selection.c
@@ -1,3 +1,25 @@
1#ifdef HAVE_CONFIG_H
2# include <config.h>
3#endif
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
1#include "ecore_xcb_private.h" 23#include "ecore_xcb_private.h"
2//#include "Ecore_X_Atoms.h" 24//#include "Ecore_X_Atoms.h"
3 25
diff --git a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_window.c b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_window.c
index ba18b503b9..2b17c61f24 100644
--- a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_window.c
+++ b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_window.c
@@ -1,3 +1,25 @@
1#ifdef HAVE_CONFIG_H
2# include <config.h>
3#endif
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
1#include "ecore_xcb_private.h" 23#include "ecore_xcb_private.h"
2#ifdef ECORE_XCB_RENDER 24#ifdef ECORE_XCB_RENDER
3# include <xcb/render.h> 25# include <xcb/render.h>
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x.c
index 7cb777d0cd..1d92f7d97e 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x.c
@@ -2,6 +2,24 @@
2# include <config.h> 2# include <config.h>
3#endif /* ifdef HAVE_CONFIG_H */ 3#endif /* ifdef HAVE_CONFIG_H */
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 <stdlib.h> 23#include <stdlib.h>
6#include <string.h> 24#include <string.h>
7#include <unistd.h> 25#include <unistd.h>
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_atoms.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_atoms.c
index 6518264e87..b3d63b09cd 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_atoms.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_atoms.c
@@ -2,6 +2,7 @@
2# include <config.h> 2# include <config.h>
3#endif /* ifdef HAVE_CONFIG_H */ 3#endif /* ifdef HAVE_CONFIG_H */
4 4
5#undef alloca
5#ifdef HAVE_ALLOCA_H 6#ifdef HAVE_ALLOCA_H
6# include <alloca.h> 7# include <alloca.h>
7#elif defined __GNUC__ 8#elif defined __GNUC__
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_e.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_e.c
index ea17e64e01..157bfe2fdc 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_e.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_e.c
@@ -6,6 +6,24 @@
6# include <config.h> 6# include <config.h>
7#endif /* ifdef HAVE_CONFIG_H */ 7#endif /* ifdef HAVE_CONFIG_H */
8 8
9#undef alloca
10#ifdef HAVE_ALLOCA_H
11# include <alloca.h>
12#elif defined __GNUC__
13# define alloca __builtin_alloca
14#elif defined _AIX
15# define alloca __alloca
16#elif defined _MSC_VER
17# include <malloc.h>
18# define alloca _alloca
19#else
20# include <stddef.h>
21# ifdef __cplusplus
22extern "C"
23# endif
24void *alloca (size_t);
25#endif
26
9#include "Ecore.h" 27#include "Ecore.h"
10#include "ecore_x_private.h" 28#include "ecore_x_private.h"
11#include "Ecore_X.h" 29#include "Ecore_X.h"
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_image.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_image.c
index 71a933cc52..a1b0bf5ae8 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_image.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_image.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 <stdlib.h> 23#include <stdlib.h>
6#include <string.h> 24#include <string.h>
7#include <sys/ipc.h> 25#include <sys/ipc.h>
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c
index 97f1d0cc73..b6373f9725 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c
@@ -6,6 +6,24 @@
6# include <config.h> 6# include <config.h>
7#endif 7#endif
8 8
9#undef alloca
10#ifdef HAVE_ALLOCA_H
11# include <alloca.h>
12#elif defined __GNUC__
13# define alloca __builtin_alloca
14#elif defined _AIX
15# define alloca __alloca
16#elif defined _MSC_VER
17# include <malloc.h>
18# define alloca _alloca
19#else
20# include <stddef.h>
21# ifdef __cplusplus
22extern "C"
23# endif
24void *alloca (size_t);
25#endif
26
9#include "ecore_x_private.h" 27#include "ecore_x_private.h"
10#include "ecore_x_randr.h" 28#include "ecore_x_randr.h"
11#include <stdio.h> 29#include <stdio.h>
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..997b2bf246 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,24 @@
2# include <config.h> 2# include <config.h>
3#endif /* ifdef HAVE_CONFIG_H */ 3#endif /* ifdef HAVE_CONFIG_H */
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 <stdlib.h> 23#include <stdlib.h>
6#include <string.h> 24#include <string.h>
7 25
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window_prop.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window_prop.c
index a5824532fb..bfd8497871 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window_prop.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window_prop.c
@@ -2,6 +2,24 @@
2# include <config.h> 2# include <config.h>
3#endif /* ifdef HAVE_CONFIG_H */ 3#endif /* ifdef HAVE_CONFIG_H */
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 <stdlib.h> 23#include <stdlib.h>
6#include <string.h> 24#include <string.h>
7 25