diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/ecore_con/ecore_con_private.h | 4 | ||||
-rw-r--r-- | src/lib/ecore_ipc/ecore_ipc.c | 4 |
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> |