diff --git a/bpf.c b/bpf.c index 93f35686..faaf0dc2 100644 --- a/bpf.c +++ b/bpf.c @@ -55,9 +55,9 @@ static char copyright[] = #include #endif #include -#include -#include -#include +#include "includes/netinet/ip.h" +#include "includes/netinet/udp.h" +#include "includes/netinet/if_ether.h" /* Called by get_interface_list for each interface that's discovered. Opens a packet filter for each interface and adds it to the select diff --git a/common/bpf.c b/common/bpf.c index 93f35686..faaf0dc2 100644 --- a/common/bpf.c +++ b/common/bpf.c @@ -55,9 +55,9 @@ static char copyright[] = #include #endif #include -#include -#include -#include +#include "includes/netinet/ip.h" +#include "includes/netinet/udp.h" +#include "includes/netinet/if_ether.h" /* Called by get_interface_list for each interface that's discovered. Opens a packet filter for each interface and adds it to the select