barbieri pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=4812d9eb746ec9893b7eba0fc45d93039d8a57ad

commit 4812d9eb746ec9893b7eba0fc45d93039d8a57ad
Author: Gustavo Sverzut Barbieri <[email protected]>
Date:   Mon Dec 12 12:16:33 2016 -0200

    add missing includes for BSD.
    
    Thanks @netstar.
---
 src/lib/ecore_con/ecore_con_private.h | 4 ++++
 src/lib/ecore_ipc/ecore_ipc.c         | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/src/lib/ecore_con/ecore_con_private.h 
b/src/lib/ecore_con/ecore_con_private.h
index 639fb0d..34478af 100644
--- a/src/lib/ecore_con/ecore_con_private.h
+++ b/src/lib/ecore_con/ecore_con_private.h
@@ -12,6 +12,10 @@
 #include <sys/un.h>
 #endif
 
+#ifdef HAVE_SYS_SOCKET_H
+# include <sys/socket.h>
+#endif
+
 #ifdef HAVE_NETINET_IN_H
 # include <netinet/in.h>
 #endif
diff --git a/src/lib/ecore_ipc/ecore_ipc.c b/src/lib/ecore_ipc/ecore_ipc.c
index d0cfb78..17f7744 100644
--- a/src/lib/ecore_ipc/ecore_ipc.c
+++ b/src/lib/ecore_ipc/ecore_ipc.c
@@ -5,6 +5,10 @@
 #include <string.h>
 #include <sys/types.h>
 
+#ifdef HAVE_ARPA_INET_H
+# include <arpa/inet.h>
+#endif
+
 #include <Ecore.h>
 #include <ecore_private.h>
 #include <Ecore_Con.h>

-- 


Reply via email to