aboutsummaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2013-01-10 20:25:26 +0000
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2013-01-10 20:25:26 +0000
commitdb395ef7eb4cb31a1ba81175e703d8409ebd36ca (patch)
treeda311328dc428f4b9f392e85ec3899417d8daca0 /m4
parent3dc661e710f4f056a376ce18a9ea0e7cceeb4200 (diff)
downloadefl-db395ef7eb4cb31a1ba81175e703d8409ebd36ca.tar.gz
efl-db395ef7eb4cb31a1ba81175e703d8409ebd36ca.tar.xz
efl-db395ef7eb4cb31a1ba81175e703d8409ebd36ca.zip
efl: Remove check for unistd.h
* unistd.h: is very useful, very old and very standard. SVN revision: 82577
Diffstat (limited to 'm4')
-rw-r--r--m4/efl_check_funcs.m44
1 files changed, 1 insertions, 3 deletions
diff --git a/m4/efl_check_funcs.m4 b/m4/efl_check_funcs.m4
index 035668537..59a38f789 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
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);