]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix compile on old systems with broken headers.
authorRoy Marples <roy@marples.name>
Thu, 11 Mar 2010 10:02:03 +0000 (10:02 +0000)
committerRoy Marples <roy@marples.name>
Thu, 11 Mar 2010 10:02:03 +0000 (10:02 +0000)
dhcpcd.c

index 170af36b6709911823c7f9f396afe431da7ba35e..69eedc157b21ea520f8280eb89e573fe785e25c2 100644 (file)
--- a/dhcpcd.c
+++ b/dhcpcd.c
@@ -38,6 +38,7 @@ const char copyright[] = "Copyright (c) 2006-2010 Roy Marples";
 #include <net/route.h>
 
 #ifdef __linux__
+#  include <asm/types.h> /* for systems with broken headers */
 #  include <linux/rtnetlink.h>
 #endif