Removed net/bpf.h as it reportedly breaks on Slackware.
Was added by PFLOG patch but the relevant definitions should be in pcap/bpf.h
This commit is contained in:
3
iftop.c
3
iftop.c
@@ -12,7 +12,8 @@
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/socket.h>
|
||||
#include <net/if.h>
|
||||
#include <net/bpf.h>
|
||||
/* include <net/bpf.h> -- this was added by the PFLOG patch but seems
|
||||
* superfluous and breaks on Slackware */
|
||||
#if defined(HAVE_PCAP_H)
|
||||
# include <pcap.h>
|
||||
#elif defined(HAVE_PCAP_PCAP_H)
|
||||
|
||||
Reference in New Issue
Block a user