summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-12-12 12:16:33 -0200
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-12-12 12:17:11 -0200
commit4812d9eb746ec9893b7eba0fc45d93039d8a57ad (patch)
treeea95250db86d485c9a676dc8ce664886c1250ce3 /src
parent780da3c87868c303d9c1051366bf3c9cd425c476 (diff)
downloadefl-4812d9eb746ec9893b7eba0fc45d93039d8a57ad.tar.gz
add missing includes for BSD.
Thanks @netstar.
Diffstat (limited to 'src')
-rw-r--r--src/lib/ecore_con/ecore_con_private.h4
-rw-r--r--src/lib/ecore_ipc/ecore_ipc.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/ecore_con/ecore_con_private.h b/src/lib/ecore_con/ecore_con_private.h
index 639fb0d17f..34478afeba 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 d0cfb7877c..17f77441dc 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>