Ecore: Include sys/select.h before using 'select' to conform to POSIX.1-2001
SVN revision: 63430
This commit is contained in:
parent
d9ddb7aa4c
commit
e4165d053b
|
@ -1093,6 +1093,8 @@ PKG_CHECK_MODULES([EVAS], [evas >= 1.0.0],
|
|||
|
||||
### Checks for header files
|
||||
|
||||
AC_CHECK_HEADERS([sys/select.h])
|
||||
|
||||
EFL_CHECK_PATH_MAX
|
||||
|
||||
AC_HEADER_SYS_WAIT
|
||||
|
|
|
@ -218,6 +218,9 @@ static Eina_Bool win32_handlers_delete_me = EINA_FALSE;
|
|||
#ifdef _WIN32
|
||||
Ecore_Select_Function main_loop_select = _ecore_main_win32_select;
|
||||
#else
|
||||
# ifdef HAVE_SYS_SELECT_H
|
||||
# include <sys/select.h>
|
||||
# endif
|
||||
Ecore_Select_Function main_loop_select = select;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue