blob: 6de12dd7a3078ff4f76733cba1ea2301f7f70c8c (
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
28
29
30
31
|
$NetBSD: patch-ai,v 1.1.1.1 2002/08/27 08:07:07 seb Exp $
--- emulate/ether.cc.orig Tue Feb 8 23:35:12 2000
+++ emulate/ether.cc
@@ -39,4 +39,7 @@ static const char rcsid[] =
#endif
#endif
+
+#include "config.h"
+
#include <stdio.h>
#include <string.h>
@@ -44,7 +47,17 @@ static const char rcsid[] =
#include <sys/socket.h>
#include <sys/ioctl.h>
+#ifdef HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
+#ifdef HAVE_NET_IF_H
+#include <net/if.h>
+#endif
+#ifdef HAVE_NET_ETHERNET_H
#include <net/ethernet.h>
+#endif
+#ifdef HAVE_NETINET_IF_ETHER_H
+#include <netinet/if_ether.h>
+#endif
-#include "config.h"
#include "ether.h"
|