diff options
author | sam <sam@FreeBSD.org> | 2006-09-04 19:30:44 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2006-09-04 19:30:44 +0000 |
commit | 6d7a94cfc038d7d923b21ef2b890c2485936110b (patch) | |
tree | 0aa8f16c67b812681923cc0bef1493ea04b75763 | |
parent | 5a5f01cc9ee924e8193548b4eda40eda50ef68eb (diff) | |
download | FreeBSD-src-6d7a94cfc038d7d923b21ef2b890c2485936110b.zip FreeBSD-src-6d7a94cfc038d7d923b21ef2b890c2485936110b.tar.gz |
add define's from config.h for pcap-int.h; this is a noop now
but will be required for libpcap 0.9.4
-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 |