summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore/ecore_main.c
diff options
context:
space:
mode:
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>2011-09-16 07:08:45 +0000
committerYouness Alaoui <kakaroto@kakaroto.homelinux.net>2011-09-16 07:08:45 +0000
commite4165d053b0e56dcd919fc2d73959e81593f437c (patch)
tree87c24979caf530a7d62ba35e51d0c0d90d3c62c7 /legacy/ecore/src/lib/ecore/ecore_main.c
parentd9ddb7aa4c8d1624112f5b0d32a7b04f353bf31e (diff)
Ecore: Include sys/select.h before using 'select' to conform to POSIX.1-2001
SVN revision: 63430
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/legacy/ecore/src/lib/ecore/ecore_main.c b/legacy/ecore/src/lib/ecore/ecore_main.c
index 322006f149..df657cba76 100644
--- a/legacy/ecore/src/lib/ecore/ecore_main.c
+++ b/legacy/ecore/src/lib/ecore/ecore_main.c
@@ -218,6 +218,9 @@ static Eina_Bool win32_handlers_delete_me = EINA_FALSE;
218#ifdef _WIN32 218#ifdef _WIN32
219Ecore_Select_Function main_loop_select = _ecore_main_win32_select; 219Ecore_Select_Function main_loop_select = _ecore_main_win32_select;
220#else 220#else
221# ifdef HAVE_SYS_SELECT_H
222# include <sys/select.h>
223# endif
221Ecore_Select_Function main_loop_select = select; 224Ecore_Select_Function main_loop_select = select;
222#endif 225#endif
223 226