chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
missing: define NET_NAME_UNKNOWN
[elogind.git]
/
src
/
shared
/
missing.h
diff --git
a/src/shared/missing.h
b/src/shared/missing.h
index a56d26550069b8335f885dc36b1ceb9c1974fc81..cf7387751ce08eda495308d60eee38f0181a847a 100644
(file)
--- 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