Ecore: Include sys/select.h before using 'select' to conform to POSIX.1-2001

SVN revision: 63430
This commit is contained in:
Youness Alaoui 2011-09-16 07:08:45 +00:00
parent d9ddb7aa4c
commit e4165d053b
2 changed files with 5 additions and 0 deletions

View File

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

View File

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