mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
portability fixes for NetBSD (issue #5151)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6549 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
10
acl.c
10
acl.c
@@ -33,10 +33,16 @@
|
||||
#include <net/route.h>
|
||||
#endif
|
||||
|
||||
#if defined (SOLARIS) || defined(__OpenBSD__)
|
||||
#if defined(SOLARIS)
|
||||
#include <sys/sockio.h>
|
||||
/* netinet/ip.h does not define the following (See RFCs 791 and 1349) */
|
||||
#endif
|
||||
|
||||
/* netinet/ip.h may not define the following (See RFCs 791 and 1349) */
|
||||
#if !defined(IPTOS_LOWCOST)
|
||||
#define IPTOS_LOWCOST 0x02
|
||||
#endif
|
||||
|
||||
#if !defined(IPTOS_MINCOST)
|
||||
#define IPTOS_MINCOST IPTOS_LOWCOST
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user