Ecore_Con: Fix compilation on Solaris
FIONREAD is defined in sys/filio.h
This commit is contained in:
parent
d15faf08fe
commit
02b6ee3ed8
|
@ -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...])
|
||||
|
|
|
@ -30,6 +30,10 @@
|
|||
# include <sys/ioctl.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SYS_FILIO_H
|
||||
# include <sys/filio.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SYSTEMD
|
||||
# include <systemd/sd-daemon.h>
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue