]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Protect from multiple inclusion.
authorTed Lemon <source@isc.org>
Tue, 5 Oct 1999 01:31:42 +0000 (01:31 +0000)
committerTed Lemon <source@isc.org>
Tue, 5 Oct 1999 01:31:42 +0000 (01:31 +0000)
includes/cdefs.h
includes/osdep.h

index 789164216180f8f820082ceeb85f26f32bfa4cab..f968a806ed99f7ea4800616b6c4ff7b8cc1a472c 100644 (file)
@@ -27,6 +27,8 @@
  * with Vixie Laboratories.
  */
 
+#if !defined (__ISC_DHCP_CDEFS_H__)
+#define __ISC_DHCP_CDEFS_H__
 #if (defined (__GNUC__) || defined (__STDC__)) && !defined (BROKEN_ANSI)
 #define PROTO(x)       x
 #define KandR(x)
@@ -42,3 +44,4 @@
 #define ANSI_DECL(x)
 #define INLINE
 #endif /* __GNUC__ || __STDC__ */
+#endif /* __ISC_DHCP_CDEFS_H__ */
index c87e1a57c3e9d0efebeb6e970f9daf6ccb5eb231..53100f2f3eeffe56e37a39b988fdeadae4d0501f 100644 (file)
@@ -20,6 +20,9 @@
  * http://www.isc.org for more information.
  */
 
+#if !defined (__ISC_DHCP_OSDEP_H__)
+#define __ISC_DHCP_OSDEP_H__
+
 #include "site.h"
 
 /* Porting::
 # define HAVE_AF_LINK
 #endif
 
+#endif /* __ISC_DHCP_OSDEP_H__ */