some platforms (e.g. FreeBSD4) need netinet/in.h to be included

before arpa/inet.h



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@91929 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Luigi Rizzo
2007-12-08 03:26:09 +00:00
parent d422e2ab1d
commit 381e3535d4

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