summaryrefslogtreecommitdiffhomepage
path: root/system-linux.c
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2015-05-26 13:59:02 +0200
committerSteven Barth <steven@midlink.org>2015-05-26 13:59:02 +0200
commit5990d1126fd33665e106508ebcbadfbb2d703d8e (patch)
treeacfac64210af32d68225a11ec2dc077c04b3132c /system-linux.c
parent3204adab41de155959575eb4d3a415ea947b861f (diff)
uclibc: backwards-compatibility fixes
Signed-off-by: Steven Barth <steven@midlink.org>
Diffstat (limited to 'system-linux.c')
-rw-r--r--system-linux.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/system-linux.c b/system-linux.c
index a6dde59..0ba729e 100644
--- a/system-linux.c
+++ b/system-linux.c
@@ -48,6 +48,15 @@
#define RT_TABLE_PRELOCAL 128
#endif
+#ifndef IFA_F_NOPREFIXROUTE
+#define IFA_F_NOPREFIXROUTE 0x200
+#endif
+
+#ifndef IFA_FLAGS
+#define IFA_FLAGS (IFA_MULTICAST + 1)
+#endif
+
+
#include <string.h>
#include <fcntl.h>
#include <glob.h>