Fix build on OpenBSD (bug #4951)
authorMark Spencer <markster@digium.com>
Sun, 14 Aug 2005 03:16:06 +0000 (03:16 +0000)
committerMark Spencer <markster@digium.com>
Sun, 14 Aug 2005 03:16:06 +0000 (03:16 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6330 65c4cc65-6c06-0410-ace0-fbb531ad65f3

acl.c

diff --git a/acl.c b/acl.c
index acd01c5..23c1ecc 100755 (executable)
--- a/acl.c
+++ b/acl.c
@@ -33,7 +33,7 @@
 #include <net/route.h>
 #endif
 
-#if defined (SOLARIS)
+#if defined (SOLARIS) || defined(__OpenBSD__)
 #include <sys/sockio.h>
 /* netinet/ip.h does not define the following (See RFCs 791 and 1349) */
 #define       IPTOS_LOWCOST           0x02