From: Ted Lemon Date: Sun, 14 Nov 1999 00:07:28 +0000 (+0000) Subject: Conditionalize bit types definition. X-Git-Tag: BCTEL_SPECIAL_19991124~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5deaeee113a58d66b7c0761a9caa5c3bb4ddec95;p=thirdparty%2Fdhcp.git Conditionalize bit types definition. --- diff --git a/includes/cf/alphaosf.h b/includes/cf/alphaosf.h index 16c8fefcb..f7be713cc 100644 --- a/includes/cf/alphaosf.h +++ b/includes/cf/alphaosf.h @@ -20,16 +20,6 @@ * http://www.isc.org for more information. */ -/* 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 @@ -48,6 +38,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 ...