chiark / gitweb /
missing.h: define IFA_FLAGS if it is missing
[elogind.git] / src / shared / missing.h
index c51f373b61e92b53845a26c37cc43bf976970c66..fa532845c505887f843aa236cefcf3e1fa988de3 100644 (file)
@@ -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