summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorangelos <angelos@openbsd.org>2001-06-09 06:14:32 +0000
committerangelos <angelos@openbsd.org>2001-06-09 06:14:32 +0000
commit7db87fb071118c4afac2636b7e51d231d84b70ea (patch)
tree72aac5cb1aba3e7add207c63b2b7a22f46849fc4
parentLess aggressive include cleanup, so it won't piss of Theo again (one hopes) (diff)
downloadwireguard-openbsd-7db87fb071118c4afac2636b7e51d231d84b70ea.tar.xz
wireguard-openbsd-7db87fb071118c4afac2636b7e51d231d84b70ea.zip
Protect from multiple inclusion.
-rw-r--r--sys/netinet/if_ether.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/netinet/if_ether.h b/sys/netinet/if_ether.h
index 428aebb2db1..365e94c6da5 100644
--- a/sys/netinet/if_ether.h
+++ b/sys/netinet/if_ether.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ether.h,v 1.14 2001/01/19 06:37:38 itojun Exp $ */
+/* $OpenBSD: if_ether.h,v 1.15 2001/06/09 06:14:32 angelos Exp $ */
/* $NetBSD: if_ether.h,v 1.22 1996/05/11 13:00:00 mycroft Exp $ */
/*
@@ -36,6 +36,9 @@
* @(#)if_ether.h 8.1 (Berkeley) 6/10/93
*/
+#ifndef _NETINET_IF_ETHER_H_
+#define _NETINET_IF_ETHER_H_
+
/*
* Ethernet address - 6 octets
* this is only used by the ethers(3) functions.
@@ -297,4 +300,5 @@ int ether_ntohost __P((char *, struct ether_addr *));
int ether_hostton __P((char *, struct ether_addr *));
int ether_line __P((char *, struct ether_addr *, char *));
-#endif
+#endif /* _KERNEL */
+#endif /* _NETINET_IF_ETHER_H_ */