diff options
Diffstat (limited to 'usr.sbin/dhcp/includes/cf/alphaosf.h')
-rw-r--r-- | usr.sbin/dhcp/includes/cf/alphaosf.h | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/usr.sbin/dhcp/includes/cf/alphaosf.h b/usr.sbin/dhcp/includes/cf/alphaosf.h index e8298ba3d14..91171404409 100644 --- a/usr.sbin/dhcp/includes/cf/alphaosf.h +++ b/usr.sbin/dhcp/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 |