Fix acl compile on solaris (bug #4932)
authorMark Spencer <markster@digium.com>
Thu, 11 Aug 2005 05:39:09 +0000 (05:39 +0000)
committerMark Spencer <markster@digium.com>
Thu, 11 Aug 2005 05:39:09 +0000 (05:39 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6319 65c4cc65-6c06-0410-ace0-fbb531ad65f3

acl.c

diff --git a/acl.c b/acl.c
index 010ce26..acd01c5 100755 (executable)
--- a/acl.c
+++ b/acl.c
@@ -35,6 +35,9 @@
 
 #if defined (SOLARIS)
 #include <sys/sockio.h>
+/* netinet/ip.h does not define the following (See RFCs 791 and 1349) */
+#define       IPTOS_LOWCOST           0x02
+#define       IPTOS_MINCOST           IPTOS_LOWCOST
 #endif
 
 #include "asterisk.h"