summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2020-01-28 12:57:25 +1100
committerDamien Miller <djm@mindrot.org>2020-01-28 12:57:25 +1100
commitec8a759b4045e54d6b38e690ffee4cbffc53c7b7 (patch)
treea3926a9544b0f4efadd629628a266c6c7063d9e9 /defines.h
parent4594c7627680c4f41c2ad5fe412e55b7cc79b10c (diff)
compat for missing IPTOS_DSCP_LE in system headers
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/defines.h b/defines.h
index 86507ab6..6c816e78 100644
--- a/defines.h
+++ b/defines.h
@@ -96,6 +96,9 @@ enum
#ifndef IPTOS_DSCP_EF
# define IPTOS_DSCP_EF 0xb8
#endif /* IPTOS_DSCP_EF */
+#ifndef IPTOS_DSCP_LE
+# define IPTOS_DSCP_LE 0x01
+#endif /* IPTOS_DSCP_LE */
#ifndef IPTOS_PREC_CRITIC_ECP
# define IPTOS_PREC_CRITIC_ECP 0xa0
#endif