summaryrefslogtreecommitdiff
path: root/sys/netinet/if_ether.h
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-06-09 06:14:33 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-06-09 06:14:33 +0000
commit470facdd7d89074650914f5a3a8ada963b1c071d (patch)
tree5ef821620601851ff6751588ed14ccb8ae86ec3b /sys/netinet/if_ether.h
parentb853303e6ce8e0d641e718fc7dd9cc26b8d5c540 (diff)
Protect from multiple inclusion.
Diffstat (limited to 'sys/netinet/if_ether.h')
-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_ */