summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/shared/missing.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shared/missing.h b/src/shared/missing.h
index a56d265500..cf7387751c 100644
--- a/src/shared/missing.h
+++ b/src/shared/missing.h
@@ -566,6 +566,10 @@ static inline int setns(int fd, int nstype) {
# define NET_ADDR_RANDOM 1
#endif
+#ifndef NET_NAME_UNKNOWN
+# define NET_NAME_UNKNOWN 0
+#endif
+
#ifndef NET_NAME_ENUM
# define NET_NAME_ENUM 1
#endif