]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Include linux/if_addr.h so we compile on 2.6.19 kernels, thanks to AlexExtreme.
authorRoy Marples <roy@marples.name>
Mon, 4 Dec 2006 09:56:40 +0000 (09:56 +0000)
committerRoy Marples <roy@marples.name>
Mon, 4 Dec 2006 09:56:40 +0000 (09:56 +0000)
ChangeLog
interface.c

index 77f5750a9819d37964120aec22be6bc5023e28a6..720928787ea2beab46e0f38af0527743ab68180f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,5 @@
+Include linux/if_addr.h so we compile on 2.6.19 kernels, thanks to AlexExtreme.
+
 dhcpcd-3.0.2
 Linux systems without glibc-2.3 don't have getifaddrs, so we define our own.
 Changed the default timeout to 20 seconds, allowing hme Sparc drivers to work.
index c678e66d35069bec7a9ea7be20e54dde29c2ca77..2ec8f8c50b25239b3e0911105e5ce3bef0ac0873 100644 (file)
@@ -30,6 +30,7 @@
 #ifdef __linux__ 
 #include <asm/types.h> /* Needed for 2.4 kernels */
 #include <features.h>
+#include <linux/if_addr.h>
 #include <linux/netlink.h>
 #include <linux/rtnetlink.h>
 #include <netinet/ether.h>