efl: Remove check for unistd.h
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Thu, 10 Jan 2013 20:25:26 +0000 (20:25 +0000)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Thu, 10 Jan 2013 20:25:26 +0000 (20:25 +0000)
* unistd.h: is very useful, very old and very standard.

SVN revision: 82577

20 files changed:
configure.ac
m4/efl_check_funcs.m4
src/bin/eet/eet_main.c
src/bin/embryo/embryo_cc_sc1.c
src/bin/embryo/embryo_cc_sc5.c
src/bin/evas/loaders/psd/evas_image_load_psd.c
src/lib/ecore/ecore.c
src/lib/ecore/ecore_app.c
src/lib/ecore/ecore_main.c
src/lib/ecore/ecore_thread.c
src/lib/ecore/ecore_throttle.c
src/lib/eet/eet_cipher.c
src/lib/eet/eet_lib.c
src/lib/eina/eina_log.c
src/lib/eina/eina_main.c
src/lib/eina/eina_prefix.c
src/lib/eina/eina_xattr.c
src/lib/eio/eio_private.h
src/modules/emotion/gstreamer/emotion_gstreamer.c
src/modules/evas/loaders/psd/evas_image_load_psd.c

index 0920b60..11d0219 100644 (file)
@@ -392,7 +392,6 @@ sys/signalfd.h \
 sys/types.h \
 sys/param.h \
 sys/mman.h \
-unistd.h \
 ])
 
 have_inotify="${ac_cv_header_sys_inotify_h}"
index 0356685..59a38f7 100644 (file)
@@ -211,9 +211,7 @@ dnl _EFL_CHECK_FUNC_SPLICE is for internal use
 dnl _EFL_CHECK_FUNC_SPLICE(EFL, VARIABLE)
 AC_DEFUN([_EFL_CHECK_FUNC_SPLICE],
 [EFL_FIND_LIB_FOR_CODE([$1], [], [$2], [[
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
 #include <fcntl.h>
 ]], [[
 long ret = splice(0, 0, 1, 0, 400, 0);
index eff7207..e59c259 100644 (file)
@@ -5,10 +5,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif /* ifdef HAVE_UNISTD_H */
+#include <unistd.h>
 
 #ifdef HAVE_EVIL
 # include <Evil.h>
index f396f4f..f941041 100644 (file)
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <unistd.h>
 #include <sys/stat.h>
 
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
-
 #ifdef HAVE_EVIL
 # include <Evil.h>
 #endif
index f284420..838a08a 100644 (file)
 #include <stdlib.h>
 #include <stdarg.h>
 #include <string.h>
-
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
 
 #include <Eina.h>
 
index 29f1c19..0c8585f 100644 (file)
@@ -7,6 +7,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
+#include <unistd.h>
 #include <errno.h>
 
 #include <math.h>
 # include <netinet/in.h>
 #endif
 
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
-
 #ifdef HAVE_EVIL
 # include <Evil.h>
 #endif
index 3aa15bf..eb30640 100644 (file)
@@ -6,13 +6,10 @@
 #include <stdio.h>
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <unistd.h>
 #include <fcntl.h>
 #include <errno.h>
 
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
-
 #ifdef HAVE_LOCALE_H
 # include <locale.h>
 #endif
index 04df487..716cd4a 100644 (file)
@@ -3,10 +3,7 @@
 #endif
 
 #include <stdlib.h>
-
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
 
 #ifdef _MSC_VER
 # include <process.h>
index 9f53136..b6f27a9 100644 (file)
@@ -18,6 +18,7 @@
 
 #include <stdlib.h>
 #include <stdio.h>
+#include <unistd.h>
 #include <math.h>
 #include <sys/types.h>
 #include <errno.h>
 # include <sys/time.h>
 #endif
 
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
-
 #ifdef _MSC_VER
 # include <float.h>
 #endif
index 954d3a1..53da07a 100644 (file)
@@ -6,10 +6,7 @@
 #include <sys/time.h>
 #include <assert.h>
 #include <sys/types.h>
-
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
 
 #ifdef HAVE_EVIL
 # include <Evil.h>
index febaeac..de0a43e 100644 (file)
@@ -3,10 +3,7 @@
 #endif
 
 #include <stdlib.h>
-
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
 
 #include "Ecore.h"
 #include "ecore_private.h"
index 60105ac..5eb2f87 100644 (file)
@@ -6,10 +6,7 @@
 #include <string.h>
 #include <sys/types.h>
 #include <sys/stat.h>
-
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif /* ifdef HAVE_UNISTD_H */
+#include <unistd.h>
 
 #ifdef HAVE_NETINET_IN_H
 # include <netinet/in.h>
index 7717fdf..41f2975 100644 (file)
 #include <sys/stat.h>
 #include <time.h>
 #include <string.h>
+#include <unistd.h>
 #include <fnmatch.h>
 #include <fcntl.h>
 #include <zlib.h>
 
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif /* ifdef HAVE_UNISTD_H */
-
 #ifdef HAVE_NETINET_IN_H
 # include <netinet/in.h>
 #endif /* ifdef HAVE_NETINET_IN_H */
index f4e3436..0be1cb8 100644 (file)
@@ -24,6 +24,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
+#include <unistd.h>
 #include <fnmatch.h>
 #include <assert.h>
 #include <errno.h>
 # define EINA_LOG_BACKTRACE
 #endif
 
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
-
 #ifdef HAVE_EVIL
 # include <Evil.h>
 #endif
index 893ca8e..667c3a1 100644 (file)
@@ -32,9 +32,7 @@
 # ifdef HAVE_SYS_TYPES_H
 #  include <sys/types.h>
 # endif
-# ifdef HAVE_UNISTD_H
-#  include <unistd.h>
-# endif
+# include <unistd.h>
 #endif
 
 #ifdef HAVE_MCHECK_H
index ed20d84..b1b4d86 100644 (file)
 #include <string.h>
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <unistd.h>
 #include <limits.h>
 
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
-
 #ifdef HAVE_DLADDR
 # include <dlfcn.h>
 #endif
index e1fac0f..a8521da 100644 (file)
 #include <stdlib.h>
 #include <sys/types.h>
 #include <string.h>
+#include <unistd.h>
 #include <math.h>
 
 #ifdef HAVE_XATTR
 # include <sys/xattr.h>
 #endif
 
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
 #include <fcntl.h>
 
 #include "eina_config.h"
index 3a47200..1fb5ee4 100644 (file)
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/mman.h>
+#include <unistd.h>
 #include <fcntl.h>
 
 #ifdef HAVE_FEATURES_H
 # include <features.h>
 #endif
 
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
-
 #ifdef HAVE_LIBGEN_H
 # include <libgen.h>
 #endif
index 8138ae6..f5669ca 100644 (file)
@@ -2,9 +2,7 @@
 # include "config.h"
 #endif
 
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
 #include <fcntl.h>
 
 #include <Eina.h>
index 414b02d..6213745 100644 (file)
 #include <math.h>
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <unistd.h>
 #include <fcntl.h>
 
 #ifdef HAVE_NETINET_IN_H
 # include <netinet/in.h>
 #endif
 
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
-
 #ifdef HAVE_EVIL
 # include <Evil.h>
 #endif