mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
28 lines
629 B
Plaintext
28 lines
629 B
Plaintext
$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>
|