--- yersinia-0.7.1.orig/configure
+++ yersinia-0.7.1/configure
@@ -4455,7 +4455,7 @@
 
 pcap_dir=""
 for dir in $PCAP_DIR ; do
-    if test -d $dir -a -r "$dir/pcap.h" ; then
+    if test -d $dir -a -r "$dir/pcap-bpf.h" ; then
        if test -n "$pcap_dir" -a "$pcap_dir" != "$dir"; then
           echo
           echo; echo more than one set found in:
