diff --git a/configure.ac b/configure.ac index 00a6687ff5..be896a2e7b 100644 --- a/configure.ac +++ b/configure.ac @@ -3115,7 +3115,7 @@ EFL_EVAL_PKGS([ECORE_CON]) ### Checks for header files -AC_CHECK_HEADERS([ws2tcpip.h netdb.h]) +AC_CHECK_HEADERS([ws2tcpip.h netdb.h sys/filio.h]) if test "x${ac_cv_header_netdb_h}" = "xno" && test "x${have_windows}" = "xno"; then AC_MSG_ERROR([netdb.h is requested to have Ecore_Con. Exiting...]) diff --git a/src/lib/ecore_con/ecore_con.c b/src/lib/ecore_con/ecore_con.c index 35eb4d091f..6ab3276370 100644 --- a/src/lib/ecore_con/ecore_con.c +++ b/src/lib/ecore_con/ecore_con.c @@ -30,6 +30,10 @@ # include #endif +#ifdef HAVE_SYS_FILIO_H +# include +#endif + #ifdef HAVE_SYSTEMD # include #endif