]> The Tcpdump Group git mirrors - libpcap/commit
It appears that, at least with the 2.6.27.5 kernel (and maybe the 2.6.27
authorguy <guy>
Sun, 14 Dec 2008 20:30:11 +0000 (20:30 +0000)
committerguy <guy>
Sun, 14 Dec 2008 20:30:11 +0000 (20:30 +0000)
commit080c13423a8f37f7b5e0964b6ff1cee2d1d83e0e
treee8cd800847c93965ee737c45fa3ea2b3f6abbc61
parentad46bc2135db2c141bd8a4546fb4592ab5e0d288
It appears that, at least with the 2.6.27.5 kernel (and maybe the 2.6.27
kernel in general), <linux/wireless.h> includes <net/if.h> and you get
multiple-definition errors if you include <net/if.h> before it.  Only
include <net/if.h> if you don't have <linux/wireless.h>.
pcap-linux.c