ecore_con: correctly include sys/ioctl.h

I had to make distclean for this patch to work.

Differential Revision: https://phab.enlightenment.org/D4402
This commit is contained in:
Vincent Torri 2016-11-16 18:26:56 +09:00 committed by Jean-Philippe Andre
parent 9ba11c5cd0
commit c0d8f1cc37
2 changed files with 5 additions and 2 deletions

View File

@ -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 \

View File

@ -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"