diff options
author | Ted Lemon <source@isc.org> | 2000-06-24 07:24:38 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 2000-06-24 07:24:38 +0000 |
commit | 50546b54db740d1a1d30029f7e162eb51d213f88 (patch) | |
tree | de19aa977efc4acc1ae06940fc83d78d64658f70 | |
parent | 3b68e961de79df2298a5f891290dab2531bd588a (diff) | |
download | isc-dhcp-50546b54db740d1a1d30029f7e162eb51d213f88.tar.gz |
Fix build on newer alpha/osf machines.
-rw-r--r-- | includes/cf/alphaosf.h | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/includes/cf/alphaosf.h b/includes/cf/alphaosf.h index e8298ba3..91171404 100644 --- a/includes/cf/alphaosf.h +++ b/includes/cf/alphaosf.h @@ -35,16 +35,6 @@ * 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 |