]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
some platforms (e.g. FreeBSD4) need netinet/in.h to be included
authorLuigi Rizzo <rizzo@icir.org>
Sat, 8 Dec 2007 03:26:09 +0000 (03:26 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Sat, 8 Dec 2007 03:26:09 +0000 (03:26 +0000)
before arpa/inet.h

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@91929 65c4cc65-6c06-0410-ace0-fbb531ad65f3

include/asterisk/network.h

index 23778ad7f10d7c2eb68352802f32dfb15c2cbdc8..00aebe45f5decd2792839cd613f4c2878cfc95e2 100644 (file)
@@ -38,8 +38,8 @@ extern "C" {
  * for the missing bits.
  */
 #ifdef HAVE_ARPA_INET_H
-#include <arpa/inet.h>         /* include early to override inet_ntoa */
 #include <netinet/in.h>
+#include <arpa/inet.h>         /* include early to override inet_ntoa */
 #include <netinet/in_systm.h>
 #include <netinet/ip.h>
 #include <netinet/tcp.h>