summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPatrick Latifi <pat@cvs.openbsd.org>2004-12-15 14:01:04 +0000
committerPatrick Latifi <pat@cvs.openbsd.org>2004-12-15 14:01:04 +0000
commit4d1883c65b32449bb4bb4b76dbdd633b9a564bff (patch)
tree6cfe959c8407f8591545636d9b70e347b6e438bd /sys
parent18a653107506eb0c9131551b08f194200016e591 (diff)
protect against multiple inclusion
mcbride ok
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/ip_carp.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/netinet/ip_carp.h b/sys/netinet/ip_carp.h
index 0a83397183f..86cafdb5f7a 100644
--- a/sys/netinet/ip_carp.h
+++ b/sys/netinet/ip_carp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_carp.h,v 1.12 2004/12/14 01:59:07 mickey Exp $ */
+/* $OpenBSD: ip_carp.h,v 1.13 2004/12/15 14:01:03 pat Exp $ */
/*
* Copyright (c) 2002 Michael Shalayeff. All rights reserved.
@@ -26,6 +26,9 @@
* THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifndef _NETINET_IP_CARP_H_
+#define _NETINET_IP_CARP_H_
+
/*
* The CARP header layout is as follows:
*
@@ -161,4 +164,5 @@ struct ifaddr *carp_iamatch6(void *, struct in6_addr *);
void *carp_macmatch6(void *, struct mbuf *, struct in6_addr *);
int carp_input(struct ether_header *, struct mbuf *);
int carp_sysctl(int *, u_int, void *, size_t *, void *, size_t);
-#endif
+#endif /* _KERNEL */
+#endif /* _NETINET_IP_CARP_H_ */