add define's from config.h for pcap-int.h; this is a noop now

but will be required for libpcap 0.9.4
This commit is contained in:
Sam Leffler 2006-09-04 19:30:44 +00:00
parent f09c8c4a46
commit 85fb34beb0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=162011

View File

@ -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