summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/missing.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/shared/missing.h b/src/shared/missing.h
index f4378a36b1..083b85a26c 100644
--- a/src/shared/missing.h
+++ b/src/shared/missing.h
@@ -503,3 +503,11 @@ static inline int setns(int fd, int nstype) {
#ifndef IPV6_UNICAST_IF
#define IPV6_UNICAST_IF 76
#endif
+
+#ifndef IFF_LOWER_UP
+#define IFF_LOWER_UP 0x10000
+#endif
+
+#ifndef IFF_DORMANT
+#define IFF_DORMANT 0x20000
+#endif