aboutsummaryrefslogtreecommitdiffstats
path: root/acl.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-08-11 05:39:09 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-08-11 05:39:09 +0000
commit415b96c5cb0041d16126700559c0ce30d7ff1619 (patch)
treeb1fa539dfed13bcad325f64136280af2ca94ec0d /acl.c
parent046f5879ea1f3cc5e41905a360b26ef084fd20c1 (diff)
Fix acl compile on solaris (bug #4932)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6319 f38db490-d61c-443f-a65b-d21fe96a405b
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"