jpeg pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=c0d8f1cc3763570b20b90c024cfad01c11db273d
commit c0d8f1cc3763570b20b90c024cfad01c11db273d Author: Vincent Torri <vincent.to...@gmail.com> Date: Wed Nov 16 18:26:56 2016 +0900 ecore_con: correctly include sys/ioctl.h I had to make distclean for this patch to work. Differential Revision: https://phab.enlightenment.org/D4402 --- configure.ac | 1 + src/lib/ecore_con/ecore_con.c | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 3c4eb48..ca58fff 100644 --- a/configure.ac +++ b/configure.ac @@ -1777,6 +1777,7 @@ netinet/in.h \ netinet/tcp.h \ netinet/udp.h \ sys/prctl.h \ +sys/ioctl.h \ sys/resource.h \ sys/timerfd.h \ sys/un.h \ diff --git a/src/lib/ecore_con/ecore_con.c b/src/lib/ecore_con/ecore_con.c index 56a5f89..48b1d1c 100644 --- a/src/lib/ecore_con/ecore_con.c +++ b/src/lib/ecore_con/ecore_con.c @@ -26,6 +26,10 @@ # include <arpa/inet.h> #endif +#ifdef HAVE_SYS_IOCTL_H +# include <sys/ioctl.h> +#endif + #ifdef HAVE_SYSTEMD # include <systemd/sd-daemon.h> #endif @@ -38,8 +42,6 @@ # include <Evil.h> #endif -#include <sys/ioctl.h> - #include "Ecore.h" #include "ecore_private.h" #include "Ecore_Con.h" --