summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2015-07-07 13:48:50 +0200
committerTom Hacohen <tom@stosb.com>2015-07-07 13:22:32 +0100
commit0985ec1cac1fa35280a1e7c441c6db4a4df26399 (patch)
treea2b1a16a606e5b14d9cd594989f449a7b3a53277
parentf965fbe623eaffcb975285a84c67f7da7fe66044 (diff)
downloadefl-0985ec1cac1fa35280a1e7c441c6db4a4df26399.tar.gz
Ecore Anim: fix compilation on Windows
sys/select.h is not available on Windows
-rw-r--r--src/lib/ecore/ecore_anim.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/ecore/ecore_anim.c b/src/lib/ecore/ecore_anim.c
index 46d4e9194c..020e4267a1 100644
--- a/src/lib/ecore/ecore_anim.c
+++ b/src/lib/ecore/ecore_anim.c
@@ -8,8 +8,6 @@
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/select.h>
-#include <fcntl.h>
#ifdef _WIN32
@@ -22,7 +20,7 @@
#else
-# include <unistd.h>
+# include <sys/select.h>
# include <fcntl.h>
# define pipe_write(fd, buffer, size) write((fd), buffer, size)