Mercurial > hg > dhcpcd
changeset 10:62175745d80a draft
Include linux/if_addr.h so we compile on 2.6.19 kernels, thanks to AlexExtreme.
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Mon, 04 Dec 2006 09:56:40 +0000 |
| parents | 35e4fcebda6b |
| children | 7e30983769ae |
| files | ChangeLog interface.c |
| diffstat | 2 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Sun Dec 03 10:28:57 2006 +0000 +++ b/ChangeLog Mon Dec 04 09:56:40 2006 +0000 @@ -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.
--- a/interface.c Sun Dec 03 10:28:57 2006 +0000 +++ b/interface.c Mon Dec 04 09:56:40 2006 +0000 @@ -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>
