summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2011-11-14 08:33:22 +0000
committerVincent Torri <vincent.torri@gmail.com>2011-11-14 08:33:22 +0000
commitb43267ab25170f77d0175088019b6f2ecfcdd4f9 (patch)
tree3bb4b7981286bf9823da6cfe813d68849c38ec75
parent3fa4e5fee38652355a288b65bb129afcdcbcf193 (diff)
Efreet: include inet/in.h before arpa/inet.h. Needed by the OpenBSD port
SVN revision: 65156
-rw-r--r--legacy/efreet/configure.ac2
-rw-r--r--legacy/efreet/src/lib/efreet_mime.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/legacy/efreet/configure.ac b/legacy/efreet/configure.ac
index 8ba25e1d41..5affc4fcf1 100644
--- a/legacy/efreet/configure.ac
+++ b/legacy/efreet/configure.ac
@@ -154,7 +154,7 @@ PKG_CHECK_MODULES(EINA, [eina >= 1.0.0])
154 154
155### Checks for header files 155### Checks for header files
156 156
157AC_CHECK_HEADERS([arpa/inet.h]) 157AC_CHECK_HEADERS([netinet/in.h arpa/inet.h])
158 158
159### Checks for types 159### Checks for types
160 160
diff --git a/legacy/efreet/src/lib/efreet_mime.c b/legacy/efreet/src/lib/efreet_mime.c
index 6960aee1ed..2c3002db55 100644
--- a/legacy/efreet/src/lib/efreet_mime.c
+++ b/legacy/efreet/src/lib/efreet_mime.c
@@ -31,6 +31,10 @@ void *alloca (size_t);
31# include <winsock2.h> 31# include <winsock2.h>
32#endif 32#endif
33 33
34#ifdef HAVE_NETINET_IN_H
35# include <netinet/in.h>
36#endif
37
34#ifdef HAVE_ARPA_INET_H 38#ifdef HAVE_ARPA_INET_H
35# include <arpa/inet.h> 39# include <arpa/inet.h>
36#endif 40#endif