summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2015-05-19 11:01:27 +0200
committerSteven Barth <steven@midlink.org>2015-05-19 11:01:27 +0200
commit9936bbfb3c8f6e39a3bc1f2418180caaca476aaa (patch)
tree26c66ac8f9b23f8f5615003e478a70a741b6c285
parent8faa5b30b12ee3e4d06a8d2557d1f112f1f2786e (diff)
downloadnetifd-9936bbfb3c8f6e39a3bc1f2418180caaca476aaa.tar.gz
linux: add compat-define for IFA_F_NOPREFIXROUTE
Signed-off-by: Steven Barth <steven@midlink.org>
-rw-r--r--system-linux.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/system-linux.c b/system-linux.c
index bfd623b..08b6757 100644
--- a/system-linux.c
+++ b/system-linux.c
@@ -47,6 +47,10 @@
#define RT_TABLE_PRELOCAL 128
#endif
+#ifndef IFA_F_NOPREFIXROUTE
+#define IFA_F_NOPREFIXROUTE 0x200
+#endif
+
#include <string.h>
#include <fcntl.h>
#include <glob.h>