summaryrefslogtreecommitdiff
path: root/includes/cf/alphaosf.h
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>1999-11-14 00:07:28 +0000
committerTed Lemon <source@isc.org>1999-11-14 00:07:28 +0000
commit5deaeee113a58d66b7c0761a9caa5c3bb4ddec95 (patch)
tree21f07643b0dc6c1a1bce1d468aebeb830986d4e0 /includes/cf/alphaosf.h
parent516cf43a98706e001fcab9943fe89a9aae635c6d (diff)
downloadisc-dhcp-5deaeee113a58d66b7c0761a9caa5c3bb4ddec95.tar.gz
Conditionalize bit types definition.
Diffstat (limited to 'includes/cf/alphaosf.h')
-rw-r--r--includes/cf/alphaosf.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/includes/cf/alphaosf.h b/includes/cf/alphaosf.h
index 16c8fefc..f7be713c 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 <syslog.h>
#include <sys/types.h>
#include <string.h>
@@ -48,6 +38,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 <stdarg.h>
#define VA_DOTDOTDOT ...