summaryrefslogtreecommitdiff
path: root/acl.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2005-08-11 05:39:09 +0000
committerMark Spencer <markster@digium.com>2005-08-11 05:39:09 +0000
commit081aa86b0d9cebc665120781ab1fdb90358700bf (patch)
treeb1fa539dfed13bcad325f64136280af2ca94ec0d /acl.c
parent82453465f0c267688f70f34d3a7465cbcc9b5cab (diff)
Fix acl compile on solaris (bug #4932)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6319 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'acl.c')
-rwxr-xr-xacl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/acl.c b/acl.c
index 010ce26f8..acd01c598 100755
--- 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"