summaryrefslogtreecommitdiffstats
path: root/contrib/libpcap/nametoaddr.c
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1996-12-10 17:11:53 +0000
committerwollman <wollman@FreeBSD.org>1996-12-10 17:11:53 +0000
commitd3ecee07b35f58cb9d8e5e3c25e923af0c1c5056 (patch)
tree1bb2cd09b3e27a462e04923aa2922608ee5ea899 /contrib/libpcap/nametoaddr.c
parent3f5b5465d429055a8f42863b35d3d19ec28dcd9b (diff)
downloadFreeBSD-src-d3ecee07b35f58cb9d8e5e3c25e923af0c1c5056.zip
FreeBSD-src-d3ecee07b35f58cb9d8e5e3c25e923af0c1c5056.tar.gz
Fix up programs which expect <net/if.h> to include <sys/time.h> to instead
do it themselves. (Some of these programs actually depended on this beyond compiling the definition of struct ifinfo!) Also fix up some other #include messes while we're at it.
Diffstat (limited to 'contrib/libpcap/nametoaddr.c')
-rw-r--r--contrib/libpcap/nametoaddr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/libpcap/nametoaddr.c b/contrib/libpcap/nametoaddr.c
index 7e67063..6e50138 100644
--- a/contrib/libpcap/nametoaddr.c
+++ b/contrib/libpcap/nametoaddr.c
@@ -30,6 +30,7 @@ static char rcsid[] =
#include <sys/param.h>
#include <sys/types.h> /* concession to AIX */
#include <sys/socket.h>
+#include <sys/time.h>
#if __STDC__
struct mbuf;
OpenPOWER on IntegriCloud