From 081aa86b0d9cebc665120781ab1fdb90358700bf Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Thu, 11 Aug 2005 05:39:09 +0000 Subject: [PATCH] Fix acl compile on solaris (bug #4932) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6319 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- acl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/acl.c b/acl.c index 010ce26f83..acd01c598f 100755 --- a/acl.c +++ b/acl.c @@ -35,6 +35,9 @@ #if defined (SOLARIS) #include +/* 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"