From e40c9a05c803c4054380f1f8158f66d25ea5de2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Briano?= Date: Thu, 2 Aug 2012 00:37:58 +0000 Subject: [PATCH] Fix building with epoll disabled. Also set the right values for the constants, for pedantic reasons. SVN revision: 74770 --- legacy/ecore/src/lib/ecore/ecore_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/legacy/ecore/src/lib/ecore/ecore_main.c b/legacy/ecore/src/lib/ecore/ecore_main.c index fdab2618d5..aef4ef6d40 100644 --- a/legacy/ecore/src/lib/ecore/ecore_main.c +++ b/legacy/ecore/src/lib/ecore/ecore_main.c @@ -65,7 +65,8 @@ # define HAVE_EPOLL 0 # define EPOLLIN 1 -# define EPOLLOUT 2 +# define EPOLLPRI 2 +# define EPOLLOUT 4 # define EPOLLERR 8 #define EPOLL_CTL_ADD 1