blob: a6b900ea37133337e5217565ec8027ccd88279a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
$NetBSD: patch-ah,v 1.1.1.1 2002/08/27 08:07:07 seb Exp $
--- emulate/arp.cc.orig Thu Nov 9 17:42:23 2000
+++ emulate/arp.cc
@@ -37,4 +37,6 @@ static const char rcsid[] =
#endif
+#include "config.h"
+
#include "object.h"
#include "packet.h"
@@ -44,9 +46,15 @@ static const char rcsid[] =
#include <sys/socket.h>
#include <sys/ioctl.h>
+#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
+#endif
#include <netinet/in_systm.h>
#include <netinet/ip.h>
+#ifdef HAVE_NET_IF_H
#include <net/if.h>
+#endif
+#ifdef HAVE_NET_ETHERNET_H
#include <net/ethernet.h>
+#endif
#include <net/if_arp.h>
#include <netinet/if_ether.h>
|