diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-09-08 02:24:02 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-09-08 02:24:02 +0000 |
commit | 2bc1763642774e63b260abacfb08926164448232 (patch) | |
tree | 45b5f54f8660cefefae32549cca1c0da27b75dbf /acl.c | |
parent | 763faa7d02443b58d935a3f0d2fb8c4cef872360 (diff) |
portability fixes for NetBSD (issue #5151)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6549 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'acl.c')
-rwxr-xr-x | acl.c | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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 |