add missing includes for BSD.

Thanks @netstar.
This commit is contained in:
Gustavo Sverzut Barbieri 2016-12-12 12:16:33 -02:00
parent 780da3c878
commit 4812d9eb74
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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>