--- arping.c +++ arping.c @@ -17,8 +17,10 @@ #include #include #include -#include -#include +#include +#include +#include +#include #include #include --- rarpd.c +++ rarpd.c @@ -24,10 +24,11 @@ #include #include #include -#include -#include +#include +#include #include -#include +#include +#include #include int do_reload = 1; @@ -45,6 +46,8 @@ extern int ether_ntohost(char *name, unsigned char *ea); void usage(void) __attribute__((noreturn)); +#define ifaddr if_addr + struct iflink { struct iflink *next;