missing.h: define IFA_FLAGS if it is missing

This commit is contained in:
Lennart Poettering
2015-04-07 21:09:18 +02:00
parent 5d84c44a97
commit 34f7b9f98f
2 changed files with 7 additions and 1 deletions
+4
View File
@@ -859,6 +859,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