raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=02b6ee3ed87ec4ff7525836ff8818f0f7e555ac2

commit 02b6ee3ed87ec4ff7525836ff8818f0f7e555ac2
Author: Vincent Torri <[email protected]>
Date:   Sun Mar 26 11:49:19 2017 +0200

    Ecore_Con: Fix compilation on Solaris
    
    FIONREAD is defined in sys/filio.h
---
 configure.ac                  | 2 +-
 src/lib/ecore_con/ecore_con.c | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 00a6687..be896a2 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 35eb4d0..6ab3276 100644
--- a/src/lib/ecore_con/ecore_con.c
+++ b/src/lib/ecore_con/ecore_con.c
@@ -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

-- 


Reply via email to