summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--src/lib/ecore_con/ecore_con.c4
2 files changed, 5 insertions, 1 deletions
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])
3115 3115
3116### Checks for header files 3116### Checks for header files
3117 3117
3118AC_CHECK_HEADERS([ws2tcpip.h netdb.h]) 3118AC_CHECK_HEADERS([ws2tcpip.h netdb.h sys/filio.h])
3119 3119
3120if test "x${ac_cv_header_netdb_h}" = "xno" && test "x${have_windows}" = "xno"; then 3120if test "x${ac_cv_header_netdb_h}" = "xno" && test "x${have_windows}" = "xno"; then
3121 AC_MSG_ERROR([netdb.h is requested to have Ecore_Con. Exiting...]) 3121 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 @@
30# include <sys/ioctl.h> 30# include <sys/ioctl.h>
31#endif 31#endif
32 32
33#ifdef HAVE_SYS_FILIO_H
34# include <sys/filio.h>
35#endif
36
33#ifdef HAVE_SYSTEMD 37#ifdef HAVE_SYSTEMD
34# include <systemd/sd-daemon.h> 38# include <systemd/sd-daemon.h>
35#endif 39#endif