aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ipfwpcap
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2006-09-04 19:30:44 +0000
committerSam Leffler <sam@FreeBSD.org>2006-09-04 19:30:44 +0000
commit85fb34beb0298f62dad253d66d86c9b0f76fa094 (patch)
tree0aa8f16c67b812681923cc0bef1493ea04b75763 /usr.sbin/ipfwpcap
parentf09c8c4a46e0587b2a5286d664aaa6a8650595d4 (diff)
Notes
Diffstat (limited to 'usr.sbin/ipfwpcap')
-rw-r--r--usr.sbin/ipfwpcap/ipfwpcap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/ipfwpcap/ipfwpcap.c b/usr.sbin/ipfwpcap/ipfwpcap.c
index f27963895acd..db0f3724135d 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