chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8371765
)
missing.h: define IFA_FLAGS if it is missing
author
Lennart Poettering
<lennart@poettering.net>
Tue, 7 Apr 2015 19:07:19 +0000
(21:07 +0200)
committer
Sven Eden
<yamakuzure@gmx.net>
Tue, 14 Mar 2017 06:52:37 +0000
(07:52 +0100)
src/shared/missing.h
patch
|
blob
|
history
diff --git
a/src/shared/missing.h
b/src/shared/missing.h
index c51f373b61e92b53845a26c37cc43bf976970c66..fa532845c505887f843aa236cefcf3e1fa988de3 100644
(file)
--- a/
src/shared/missing.h
+++ b/
src/shared/missing.h
@@
-855,6
+855,10
@@
static inline int setns(int fd, int nstype) {
#define LOOPBACK_IFINDEX 1
#endif
+#if !HAVE_DECL_IFA_FLAGS
+#define IFA_FLAGS 8
+#endif
+
#ifndef MAX_AUDIT_MESSAGE_LENGTH
#define MAX_AUDIT_MESSAGE_LENGTH 8970
#endif