]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Fix build on newer alpha/osf machines.
authorTed Lemon <source@isc.org>
Sat, 24 Jun 2000 07:24:38 +0000 (07:24 +0000)
committerTed Lemon <source@isc.org>
Sat, 24 Jun 2000 07:24:38 +0000 (07:24 +0000)
includes/cf/alphaosf.h

index e8298ba3d143f1fbe5277a0aaac526ad0152b46b..911714044093ce390892eb9d65832a3fdeef7aa5 100644 (file)
  * under a contract with Vixie Laboratories.
  */
 
-/* Define the basic integer types... */
-typedef char int8_t;
-typedef short int16_t;
-typedef int int32_t;
-
-typedef unsigned char u_int8_t;
-typedef unsigned short u_int16_t;
-typedef unsigned int u_int32_t;
-typedef unsigned long u_int64_t;
-
 #include <syslog.h>
 #include <sys/types.h>
 #include <string.h>
@@ -63,6 +53,18 @@ extern int h_errno;
 #include <net/if.h>
 #include <net/if_dl.h>
 
+/* Define the basic integer types... */
+#if !defined (__BIT_TYPES_DEFINED__)
+typedef char int8_t;
+typedef short int16_t;
+typedef int int32_t;
+
+typedef unsigned char u_int8_t;
+typedef unsigned short u_int16_t;
+typedef unsigned int u_int32_t;
+typedef unsigned long u_int64_t;
+#endif
+
 /* Varargs stuff... */
 #include <varargs.h>
 #define VA_DOTDOTDOT va_alist