summaryrefslogtreecommitdiffstats
path: root/dhcpcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpcd.c')
-rw-r--r--dhcpcd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dhcpcd.c b/dhcpcd.c
index 2448f5e2..1805265c 100644
--- a/dhcpcd.c
+++ b/dhcpcd.c
@@ -35,6 +35,10 @@ const char copyright[] = "Copyright (c) 2006-2009 Roy Marples";
#include <arpa/inet.h>
#include <net/route.h>
+#ifdef __linux__
+# include <linux/rtnetlink.h>
+#endif
+
#include <ctype.h>
#include <errno.h>
#include <getopt.h>