Efreet: include inet/in.h before arpa/inet.h. Needed by the OpenBSD port

SVN revision: 65156
This commit is contained in:
Vincent Torri 2011-11-14 08:33:22 +00:00
parent 3fa4e5fee3
commit b43267ab25
2 changed files with 5 additions and 1 deletions

View File

@ -154,7 +154,7 @@ PKG_CHECK_MODULES(EINA, [eina >= 1.0.0])
### Checks for header files
AC_CHECK_HEADERS([arpa/inet.h])
AC_CHECK_HEADERS([netinet/in.h arpa/inet.h])
### Checks for types

View File

@ -31,6 +31,10 @@ void *alloca (size_t);
# include <winsock2.h>
#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#ifdef HAVE_ARPA_INET_H
# include <arpa/inet.h>
#endif