summaryrefslogtreecommitdiff
path: root/sys/netinet/udp.h
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-06-09 07:03:46 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-06-09 07:03:46 +0000
commit29cf16ac90acaf062d15901509e3a67ca4ef738e (patch)
treeed4d67d6d710a9f74690b2ce796fdcc9b072d559 /sys/netinet/udp.h
parent704a4b23790dbd9ab4869662980b908dfba2a41f (diff)
Inclusion protection.
Diffstat (limited to 'sys/netinet/udp.h')
-rw-r--r--sys/netinet/udp.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/netinet/udp.h b/sys/netinet/udp.h
index 3d5c73edf81..7c60c630493 100644
--- a/sys/netinet/udp.h
+++ b/sys/netinet/udp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: udp.h,v 1.3 1997/02/24 14:06:47 niklas Exp $ */
+/* $OpenBSD: udp.h,v 1.4 2001/06/09 07:03:45 angelos Exp $ */
/* $NetBSD: udp.h,v 1.6 1995/04/13 06:37:10 cgd Exp $ */
/*
@@ -36,6 +36,9 @@
* @(#)udp.h 8.1 (Berkeley) 6/10/93
*/
+#ifndef _NETINET_UDP_H_
+#define _NETINET_UDP_H_
+
/*
* Udp protocol header.
* Per RFC 768, September, 1981.
@@ -46,3 +49,5 @@ struct udphdr {
u_int16_t uh_ulen; /* udp length */
u_int16_t uh_sum; /* udp checksum */
};
+
+#endif /* _NETINET_UDP_H_ */