aboutsummaryrefslogtreecommitdiffstats
path: root/acl.c
diff options
context:
space:
mode:
Diffstat (limited to 'acl.c')
-rwxr-xr-xacl.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/acl.c b/acl.c
index 4d6fcdc52..dbb55c9b3 100755
--- a/acl.c
+++ b/acl.c
@@ -33,10 +33,16 @@
#include <net/route.h>
#endif
-#if defined (SOLARIS) || defined(__OpenBSD__)
+#if defined(SOLARIS)
#include <sys/sockio.h>
-/* netinet/ip.h does not define the following (See RFCs 791 and 1349) */
+#endif
+
+/* netinet/ip.h may not define the following (See RFCs 791 and 1349) */
+#if !defined(IPTOS_LOWCOST)
#define IPTOS_LOWCOST 0x02
+#endif
+
+#if !defined(IPTOS_MINCOST)
#define IPTOS_MINCOST IPTOS_LOWCOST
#endif