aboutsummaryrefslogtreecommitdiff
path: root/contrib/libpcap
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1997-01-03 20:10:04 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1997-01-03 20:10:04 +0000
commitee3e76337136982bd2409a691664d03bdf9cafc6 (patch)
tree15d55084a1f828859968c15c65d00ca2cceaedb2 /contrib/libpcap
parentc41ac00245c5d3508c076ce9ea64bb5725327178 (diff)
downloadsrc-ee3e76337136982bd2409a691664d03bdf9cafc6.tar.gz
src-ee3e76337136982bd2409a691664d03bdf9cafc6.zip
Update to reflect changes in net/if.h.
Notes
Notes: svn path=/head/; revision=21262
Diffstat (limited to 'contrib/libpcap')
-rw-r--r--contrib/libpcap/gencode.c2
-rw-r--r--contrib/libpcap/nametoaddr.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/libpcap/gencode.c b/contrib/libpcap/gencode.c
index 405c97c3cf19..d218b93597f9 100644
--- a/contrib/libpcap/gencode.c
+++ b/contrib/libpcap/gencode.c
@@ -33,9 +33,9 @@ struct rtentry;
#endif
#include <net/if.h>
+#include <net/ethernet.h>
#include <netinet/in.h>
-#include <netinet/if_ether.h>
#include <stdlib.h>
#include <memory.h>
diff --git a/contrib/libpcap/nametoaddr.c b/contrib/libpcap/nametoaddr.c
index 6e50138682c6..7cd5c4d0fefc 100644
--- a/contrib/libpcap/nametoaddr.c
+++ b/contrib/libpcap/nametoaddr.c
@@ -38,8 +38,8 @@ struct rtentry;
#endif
#include <net/if.h>
+#include <net/ethernet.h>
#include <netinet/in.h>
-#include <netinet/if_ether.h>
#include <arpa/inet.h>
#include <ctype.h>