diff options
Diffstat (limited to 'usr.sbin/ipfwpcap/ipfwpcap.c')
-rw-r--r-- | usr.sbin/ipfwpcap/ipfwpcap.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/ipfwpcap/ipfwpcap.c b/usr.sbin/ipfwpcap/ipfwpcap.c index f279638..db0f372 100644 --- a/usr.sbin/ipfwpcap/ipfwpcap.c +++ b/usr.sbin/ipfwpcap/ipfwpcap.c @@ -39,6 +39,10 @@ #include <netinet/in_systm.h> /* for IP_MAXPACKET */ #include <netinet/ip.h> /* for IP_MAXPACKET */ +/* XXX normally defined in config.h */ +#define HAVE_STRLCPY 1 +#define HAVE_SNPRINTF 1 +#define HAVE_VSNPRINTF 1 #include <pcap-int.h> /* see pcap(3) and /usr/src/contrib/libpcap/. */ #ifdef IP_MAXPACKET |