mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-30 10:33:13 +00:00
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:
@@ -38,8 +38,8 @@ extern "C" {
|
|||||||
* for the missing bits.
|
* for the missing bits.
|
||||||
*/
|
*/
|
||||||
#ifdef HAVE_ARPA_INET_H
|
#ifdef HAVE_ARPA_INET_H
|
||||||
#include <arpa/inet.h> /* include early to override inet_ntoa */
|
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
|
#include <arpa/inet.h> /* include early to override inet_ntoa */
|
||||||
#include <netinet/in_systm.h>
|
#include <netinet/in_systm.h>
|
||||||
#include <netinet/ip.h>
|
#include <netinet/ip.h>
|
||||||
#include <netinet/tcp.h>
|
#include <netinet/tcp.h>
|
||||||
|
Reference in New Issue
Block a user