[asterisk-commits] rizzo: trunk r91929 - /trunk/include/asterisk/network.h

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Dec 7 21:26:10 CST 2007


Author: rizzo
Date: Fri Dec  7 21:26:09 2007
New Revision: 91929

URL: http://svn.digium.com/view/asterisk?view=rev&rev=91929
Log:
some platforms (e.g. FreeBSD4) need netinet/in.h to be included
before arpa/inet.h


Modified:
    trunk/include/asterisk/network.h

Modified: trunk/include/asterisk/network.h
URL: http://svn.digium.com/view/asterisk/trunk/include/asterisk/network.h?view=diff&rev=91929&r1=91928&r2=91929
==============================================================================
--- trunk/include/asterisk/network.h (original)
+++ trunk/include/asterisk/network.h Fri Dec  7 21:26:09 2007
@@ -38,8 +38,8 @@
  * for the missing bits.
  */
 #ifdef HAVE_ARPA_INET_H
+#include <netinet/in.h>
 #include <arpa/inet.h>		/* include early to override inet_ntoa */
-#include <netinet/in.h>
 #include <netinet/in_systm.h>
 #include <netinet/ip.h>
 #include <netinet/tcp.h>




More information about the asterisk-commits mailing list