summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--configure.ac1
-rw-r--r--m4/efl_check_funcs.m44
-rw-r--r--src/bin/eet/eet_main.c5
-rw-r--r--src/bin/embryo/embryo_cc_sc1.c5
-rw-r--r--src/bin/embryo/embryo_cc_sc5.c5
-rw-r--r--src/bin/evas/loaders/psd/evas_image_load_psd.c5
-rw-r--r--src/lib/ecore/ecore.c5
-rw-r--r--src/lib/ecore/ecore_app.c5
-rw-r--r--src/lib/ecore/ecore_main.c5
-rw-r--r--src/lib/ecore/ecore_thread.c5
-rw-r--r--src/lib/ecore/ecore_throttle.c5
-rw-r--r--src/lib/eet/eet_cipher.c5
-rw-r--r--src/lib/eet/eet_lib.c5
-rw-r--r--src/lib/eina/eina_log.c5
-rw-r--r--src/lib/eina/eina_main.c4
-rw-r--r--src/lib/eina/eina_prefix.c5
-rw-r--r--src/lib/eina/eina_xattr.c4
-rw-r--r--src/lib/eio/eio_private.h5
-rw-r--r--src/modules/emotion/gstreamer/emotion_gstreamer.c4
-rw-r--r--src/modules/evas/loaders/psd/evas_image_load_psd.c5
20 files changed, 19 insertions, 73 deletions
diff --git a/configure.ac b/configure.ac
index 0920b6066b..11d02190d8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -392,7 +392,6 @@ sys/signalfd.h \
392sys/types.h \ 392sys/types.h \
393sys/param.h \ 393sys/param.h \
394sys/mman.h \ 394sys/mman.h \
395unistd.h \
396]) 395])
397 396
398have_inotify="${ac_cv_header_sys_inotify_h}" 397have_inotify="${ac_cv_header_sys_inotify_h}"
diff --git a/m4/efl_check_funcs.m4 b/m4/efl_check_funcs.m4
index 0356685371..59a38f7894 100644
--- a/m4/efl_check_funcs.m4
+++ b/m4/efl_check_funcs.m4
@@ -211,9 +211,7 @@ dnl _EFL_CHECK_FUNC_SPLICE is for internal use
211dnl _EFL_CHECK_FUNC_SPLICE(EFL, VARIABLE) 211dnl _EFL_CHECK_FUNC_SPLICE(EFL, VARIABLE)
212AC_DEFUN([_EFL_CHECK_FUNC_SPLICE], 212AC_DEFUN([_EFL_CHECK_FUNC_SPLICE],
213[EFL_FIND_LIB_FOR_CODE([$1], [], [$2], [[ 213[EFL_FIND_LIB_FOR_CODE([$1], [], [$2], [[
214#ifdef HAVE_UNISTD_H 214#include <unistd.h>
215# include <unistd.h>
216#endif
217#include <fcntl.h> 215#include <fcntl.h>
218]], [[ 216]], [[
219long ret = splice(0, 0, 1, 0, 400, 0); 217long ret = splice(0, 0, 1, 0, 400, 0);
diff --git a/src/bin/eet/eet_main.c b/src/bin/eet/eet_main.c
index eff7207de7..e59c2599e9 100644
--- a/src/bin/eet/eet_main.c
+++ b/src/bin/eet/eet_main.c
@@ -5,10 +5,7 @@
5#include <stdio.h> 5#include <stdio.h>
6#include <stdlib.h> 6#include <stdlib.h>
7#include <string.h> 7#include <string.h>
8 8#include <unistd.h>
9#ifdef HAVE_UNISTD_H
10# include <unistd.h>
11#endif /* ifdef HAVE_UNISTD_H */
12 9
13#ifdef HAVE_EVIL 10#ifdef HAVE_EVIL
14# include <Evil.h> 11# include <Evil.h>
diff --git a/src/bin/embryo/embryo_cc_sc1.c b/src/bin/embryo/embryo_cc_sc1.c
index f396f4f6e0..f941041182 100644
--- a/src/bin/embryo/embryo_cc_sc1.c
+++ b/src/bin/embryo/embryo_cc_sc1.c
@@ -33,12 +33,9 @@
33#include <stdio.h> 33#include <stdio.h>
34#include <stdlib.h> 34#include <stdlib.h>
35#include <string.h> 35#include <string.h>
36#include <unistd.h>
36#include <sys/stat.h> 37#include <sys/stat.h>
37 38
38#ifdef HAVE_UNISTD_H
39# include <unistd.h>
40#endif
41
42#ifdef HAVE_EVIL 39#ifdef HAVE_EVIL
43# include <Evil.h> 40# include <Evil.h>
44#endif 41#endif
diff --git a/src/bin/embryo/embryo_cc_sc5.c b/src/bin/embryo/embryo_cc_sc5.c
index f284420bb3..838a08aacc 100644
--- a/src/bin/embryo/embryo_cc_sc5.c
+++ b/src/bin/embryo/embryo_cc_sc5.c
@@ -31,10 +31,7 @@
31#include <stdlib.h> 31#include <stdlib.h>
32#include <stdarg.h> 32#include <stdarg.h>
33#include <string.h> 33#include <string.h>
34 34#include <unistd.h>
35#ifdef HAVE_UNISTD_H
36# include <unistd.h>
37#endif
38 35
39#include <Eina.h> 36#include <Eina.h>
40 37
diff --git a/src/bin/evas/loaders/psd/evas_image_load_psd.c b/src/bin/evas/loaders/psd/evas_image_load_psd.c
index 29f1c1975e..0c8585fc2c 100644
--- a/src/bin/evas/loaders/psd/evas_image_load_psd.c
+++ b/src/bin/evas/loaders/psd/evas_image_load_psd.c
@@ -7,6 +7,7 @@
7#include <stdlib.h> 7#include <stdlib.h>
8#include <stdio.h> 8#include <stdio.h>
9#include <string.h> 9#include <string.h>
10#include <unistd.h>
10#include <errno.h> 11#include <errno.h>
11 12
12#include <math.h> 13#include <math.h>
@@ -18,10 +19,6 @@
18# include <netinet/in.h> 19# include <netinet/in.h>
19#endif 20#endif
20 21
21#ifdef HAVE_UNISTD_H
22# include <unistd.h>
23#endif
24
25#ifdef HAVE_EVIL 22#ifdef HAVE_EVIL
26# include <Evil.h> 23# include <Evil.h>
27#endif 24#endif
diff --git a/src/lib/ecore/ecore.c b/src/lib/ecore/ecore.c
index 3aa15bf77c..eb306408b3 100644
--- a/src/lib/ecore/ecore.c
+++ b/src/lib/ecore/ecore.c
@@ -6,13 +6,10 @@
6#include <stdio.h> 6#include <stdio.h>
7#include <sys/types.h> 7#include <sys/types.h>
8#include <sys/stat.h> 8#include <sys/stat.h>
9#include <unistd.h>
9#include <fcntl.h> 10#include <fcntl.h>
10#include <errno.h> 11#include <errno.h>
11 12
12#ifdef HAVE_UNISTD_H
13# include <unistd.h>
14#endif
15
16#ifdef HAVE_LOCALE_H 13#ifdef HAVE_LOCALE_H
17# include <locale.h> 14# include <locale.h>
18#endif 15#endif
diff --git a/src/lib/ecore/ecore_app.c b/src/lib/ecore/ecore_app.c
index 04df487d3c..716cd4a1aa 100644
--- a/src/lib/ecore/ecore_app.c
+++ b/src/lib/ecore/ecore_app.c
@@ -3,10 +3,7 @@
3#endif 3#endif
4 4
5#include <stdlib.h> 5#include <stdlib.h>
6 6#include <unistd.h>
7#ifdef HAVE_UNISTD_H
8# include <unistd.h>
9#endif
10 7
11#ifdef _MSC_VER 8#ifdef _MSC_VER
12# include <process.h> 9# include <process.h>
diff --git a/src/lib/ecore/ecore_main.c b/src/lib/ecore/ecore_main.c
index 9f531361f9..b6f27a9491 100644
--- a/src/lib/ecore/ecore_main.c
+++ b/src/lib/ecore/ecore_main.c
@@ -18,6 +18,7 @@
18 18
19#include <stdlib.h> 19#include <stdlib.h>
20#include <stdio.h> 20#include <stdio.h>
21#include <unistd.h>
21#include <math.h> 22#include <math.h>
22#include <sys/types.h> 23#include <sys/types.h>
23#include <errno.h> 24#include <errno.h>
@@ -27,10 +28,6 @@
27# include <sys/time.h> 28# include <sys/time.h>
28#endif 29#endif
29 30
30#ifdef HAVE_UNISTD_H
31# include <unistd.h>
32#endif
33
34#ifdef _MSC_VER 31#ifdef _MSC_VER
35# include <float.h> 32# include <float.h>
36#endif 33#endif
diff --git a/src/lib/ecore/ecore_thread.c b/src/lib/ecore/ecore_thread.c
index 954d3a1827..53da07ac47 100644
--- a/src/lib/ecore/ecore_thread.c
+++ b/src/lib/ecore/ecore_thread.c
@@ -6,10 +6,7 @@
6#include <sys/time.h> 6#include <sys/time.h>
7#include <assert.h> 7#include <assert.h>
8#include <sys/types.h> 8#include <sys/types.h>
9 9#include <unistd.h>
10#ifdef HAVE_UNISTD_H
11# include <unistd.h>
12#endif
13 10
14#ifdef HAVE_EVIL 11#ifdef HAVE_EVIL
15# include <Evil.h> 12# include <Evil.h>
diff --git a/src/lib/ecore/ecore_throttle.c b/src/lib/ecore/ecore_throttle.c
index febaeacb77..de0a43ed9a 100644
--- a/src/lib/ecore/ecore_throttle.c
+++ b/src/lib/ecore/ecore_throttle.c
@@ -3,10 +3,7 @@
3#endif 3#endif
4 4
5#include <stdlib.h> 5#include <stdlib.h>
6 6#include <unistd.h>
7#ifdef HAVE_UNISTD_H
8# include <unistd.h>
9#endif
10 7
11#include "Ecore.h" 8#include "Ecore.h"
12#include "ecore_private.h" 9#include "ecore_private.h"
diff --git a/src/lib/eet/eet_cipher.c b/src/lib/eet/eet_cipher.c
index 60105acde4..5eb2f87958 100644
--- a/src/lib/eet/eet_cipher.c
+++ b/src/lib/eet/eet_cipher.c
@@ -6,10 +6,7 @@
6#include <string.h> 6#include <string.h>
7#include <sys/types.h> 7#include <sys/types.h>
8#include <sys/stat.h> 8#include <sys/stat.h>
9 9#include <unistd.h>
10#ifdef HAVE_UNISTD_H
11# include <unistd.h>
12#endif /* ifdef HAVE_UNISTD_H */
13 10
14#ifdef HAVE_NETINET_IN_H 11#ifdef HAVE_NETINET_IN_H
15# include <netinet/in.h> 12# include <netinet/in.h>
diff --git a/src/lib/eet/eet_lib.c b/src/lib/eet/eet_lib.c
index 7717fdf9f6..41f29757d7 100644
--- a/src/lib/eet/eet_lib.c
+++ b/src/lib/eet/eet_lib.c
@@ -12,14 +12,11 @@
12#include <sys/stat.h> 12#include <sys/stat.h>
13#include <time.h> 13#include <time.h>
14#include <string.h> 14#include <string.h>
15#include <unistd.h>
15#include <fnmatch.h> 16#include <fnmatch.h>
16#include <fcntl.h> 17#include <fcntl.h>
17#include <zlib.h> 18#include <zlib.h>
18 19
19#ifdef HAVE_UNISTD_H
20# include <unistd.h>
21#endif /* ifdef HAVE_UNISTD_H */
22
23#ifdef HAVE_NETINET_IN_H 20#ifdef HAVE_NETINET_IN_H
24# include <netinet/in.h> 21# include <netinet/in.h>
25#endif /* ifdef HAVE_NETINET_IN_H */ 22#endif /* ifdef HAVE_NETINET_IN_H */
diff --git a/src/lib/eina/eina_log.c b/src/lib/eina/eina_log.c
index f4e343688b..0be1cb8a08 100644
--- a/src/lib/eina/eina_log.c
+++ b/src/lib/eina/eina_log.c
@@ -24,6 +24,7 @@
24#include <stdio.h> 24#include <stdio.h>
25#include <string.h> 25#include <string.h>
26#include <stdlib.h> 26#include <stdlib.h>
27#include <unistd.h>
27#include <fnmatch.h> 28#include <fnmatch.h>
28#include <assert.h> 29#include <assert.h>
29#include <errno.h> 30#include <errno.h>
@@ -33,10 +34,6 @@
33# define EINA_LOG_BACKTRACE 34# define EINA_LOG_BACKTRACE
34#endif 35#endif
35 36
36#ifdef HAVE_UNISTD_H
37# include <unistd.h>
38#endif
39
40#ifdef HAVE_EVIL 37#ifdef HAVE_EVIL
41# include <Evil.h> 38# include <Evil.h>
42#endif 39#endif
diff --git a/src/lib/eina/eina_main.c b/src/lib/eina/eina_main.c
index 893ca8e5d4..667c3a1b71 100644
--- a/src/lib/eina/eina_main.c
+++ b/src/lib/eina/eina_main.c
@@ -32,9 +32,7 @@
32# ifdef HAVE_SYS_TYPES_H 32# ifdef HAVE_SYS_TYPES_H
33# include <sys/types.h> 33# include <sys/types.h>
34# endif 34# endif
35# ifdef HAVE_UNISTD_H 35# include <unistd.h>
36# include <unistd.h>
37# endif
38#endif 36#endif
39 37
40#ifdef HAVE_MCHECK_H 38#ifdef HAVE_MCHECK_H
diff --git a/src/lib/eina/eina_prefix.c b/src/lib/eina/eina_prefix.c
index ed20d84f65..b1b4d86422 100644
--- a/src/lib/eina/eina_prefix.c
+++ b/src/lib/eina/eina_prefix.c
@@ -34,12 +34,9 @@
34#include <string.h> 34#include <string.h>
35#include <sys/types.h> 35#include <sys/types.h>
36#include <sys/stat.h> 36#include <sys/stat.h>
37#include <unistd.h>
37#include <limits.h> 38#include <limits.h>
38 39
39#ifdef HAVE_UNISTD_H
40# include <unistd.h>
41#endif
42
43#ifdef HAVE_DLADDR 40#ifdef HAVE_DLADDR
44# include <dlfcn.h> 41# include <dlfcn.h>
45#endif 42#endif
diff --git a/src/lib/eina/eina_xattr.c b/src/lib/eina/eina_xattr.c
index e1fac0fa21..a8521da58f 100644
--- a/src/lib/eina/eina_xattr.c
+++ b/src/lib/eina/eina_xattr.c
@@ -23,15 +23,13 @@
23#include <stdlib.h> 23#include <stdlib.h>
24#include <sys/types.h> 24#include <sys/types.h>
25#include <string.h> 25#include <string.h>
26#include <unistd.h>
26#include <math.h> 27#include <math.h>
27 28
28#ifdef HAVE_XATTR 29#ifdef HAVE_XATTR
29# include <sys/xattr.h> 30# include <sys/xattr.h>
30#endif 31#endif
31 32
32#ifdef HAVE_UNISTD_H
33# include <unistd.h>
34#endif
35#include <fcntl.h> 33#include <fcntl.h>
36 34
37#include "eina_config.h" 35#include "eina_config.h"
diff --git a/src/lib/eio/eio_private.h b/src/lib/eio/eio_private.h
index 3a47200890..1fb5ee4452 100644
--- a/src/lib/eio/eio_private.h
+++ b/src/lib/eio/eio_private.h
@@ -39,16 +39,13 @@
39#include <sys/types.h> 39#include <sys/types.h>
40#include <sys/stat.h> 40#include <sys/stat.h>
41#include <sys/mman.h> 41#include <sys/mman.h>
42#include <unistd.h>
42#include <fcntl.h> 43#include <fcntl.h>
43 44
44#ifdef HAVE_FEATURES_H 45#ifdef HAVE_FEATURES_H
45# include <features.h> 46# include <features.h>
46#endif 47#endif
47 48
48#ifdef HAVE_UNISTD_H
49# include <unistd.h>
50#endif
51
52#ifdef HAVE_LIBGEN_H 49#ifdef HAVE_LIBGEN_H
53# include <libgen.h> 50# include <libgen.h>
54#endif 51#endif
diff --git a/src/modules/emotion/gstreamer/emotion_gstreamer.c b/src/modules/emotion/gstreamer/emotion_gstreamer.c
index 8138ae6413..f5669caf61 100644
--- a/src/modules/emotion/gstreamer/emotion_gstreamer.c
+++ b/src/modules/emotion/gstreamer/emotion_gstreamer.c
@@ -2,9 +2,7 @@
2# include "config.h" 2# include "config.h"
3#endif 3#endif
4 4
5#ifdef HAVE_UNISTD_H 5#include <unistd.h>
6# include <unistd.h>
7#endif
8#include <fcntl.h> 6#include <fcntl.h>
9 7
10#include <Eina.h> 8#include <Eina.h>
diff --git a/src/modules/evas/loaders/psd/evas_image_load_psd.c b/src/modules/evas/loaders/psd/evas_image_load_psd.c
index 414b02dd3e..6213745357 100644
--- a/src/modules/evas/loaders/psd/evas_image_load_psd.c
+++ b/src/modules/evas/loaders/psd/evas_image_load_psd.c
@@ -12,16 +12,13 @@
12#include <math.h> 12#include <math.h>
13#include <sys/types.h> 13#include <sys/types.h>
14#include <sys/stat.h> 14#include <sys/stat.h>
15#include <unistd.h>
15#include <fcntl.h> 16#include <fcntl.h>
16 17
17#ifdef HAVE_NETINET_IN_H 18#ifdef HAVE_NETINET_IN_H
18# include <netinet/in.h> 19# include <netinet/in.h>
19#endif 20#endif
20 21
21#ifdef HAVE_UNISTD_H
22# include <unistd.h>
23#endif
24
25#ifdef HAVE_EVIL 22#ifdef HAVE_EVIL
26# include <Evil.h> 23# include <Evil.h>
27#endif 24#endif