From: Ted Lemon Date: Sat, 24 Jun 2000 07:24:38 +0000 (+0000) Subject: Fix build on newer alpha/osf machines. X-Git-Tag: V2-0-1~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=50546b54db740d1a1d30029f7e162eb51d213f88;p=thirdparty%2Fdhcp.git Fix build on newer alpha/osf machines. --- diff --git a/includes/cf/alphaosf.h b/includes/cf/alphaosf.h index e8298ba3d..911714044 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 #include #include @@ -63,6 +53,18 @@ extern int h_errno; #include #include +/* 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 #define VA_DOTDOTDOT va_alist