diff options
author | mlaier <mlaier@FreeBSD.org> | 2007-10-16 02:12:06 +0000 |
---|---|---|
committer | mlaier <mlaier@FreeBSD.org> | 2007-10-16 02:12:06 +0000 |
commit | 8ad5ea95ae1b7cb41fe6ba81326cd93641cfc371 (patch) | |
tree | a5a3831a193232968a32df493bb6f4ff0f474c37 /usr.sbin | |
parent | f6e703bfb6cc4551edeff140d10652fd6da0dd18 (diff) | |
download | FreeBSD-src-8ad5ea95ae1b7cb41fe6ba81326cd93641cfc371.zip FreeBSD-src-8ad5ea95ae1b7cb41fe6ba81326cd93641cfc371.tar.gz |
Update for libpcap 0.9.8
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/wpa/l2_packet.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/usr.sbin/wpa/l2_packet.c b/usr.sbin/wpa/l2_packet.c index b8beb78..6c4c6b3 100644 --- a/usr.sbin/wpa/l2_packet.c +++ b/usr.sbin/wpa/l2_packet.c @@ -18,23 +18,24 @@ /* * FreeBSD-specific implementation. */ -#include <stdlib.h> -#include <stdio.h> -#include <string.h> -#include <errno.h> -#include <pcap.h> - #include <sys/types.h> #include <sys/ioctl.h> #include <sys/socket.h> #include <sys/sysctl.h> +#include <net/bpf.h> #include <net/if.h> #include <net/if_dl.h> #include <net/route.h> #include <netinet/in.h> #include <arpa/inet.h> +#include <stdlib.h> +#include <stdio.h> +#include <string.h> +#include <errno.h> +#include <pcap.h> + #include "common.h" #include "eloop.h" #include "l2_packet.h" |