aboutsummaryrefslogtreecommitdiff
path: root/toys/pending/route.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2020-06-02 11:14:15 -0500
committerRob Landley <rob@landley.net>2020-06-02 11:14:15 -0500
commitaef40f69d2dda3c6e4c0963fdde715bdfc708c1f (patch)
tree059e16d5306a87508ea5faf2bd8ab96e6e3c27f1 /toys/pending/route.c
parent62e90fa1b72a6e3e4169adc158bbc4ec27017350 (diff)
downloadtoybox-aef40f69d2dda3c6e4c0963fdde715bdfc708c1f.tar.gz
Build works fine on glibc but breaks on musl, add a workaround.
Diffstat (limited to 'toys/pending/route.c')
-rw-r--r--toys/pending/route.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/toys/pending/route.c b/toys/pending/route.c
index 99ba946e..a7e88246 100644
--- a/toys/pending/route.c
+++ b/toys/pending/route.c
@@ -48,6 +48,7 @@ config ROUTE
#define FOR_route
#include "toys.h"
+#define _LINUX_SYSINFO_H // workaround for musl bug
#include <linux/rtnetlink.h>
GLOBALS(