summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcp/includes/cf/qnx.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/dhcp/includes/cf/qnx.h')
-rw-r--r--usr.sbin/dhcp/includes/cf/qnx.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/usr.sbin/dhcp/includes/cf/qnx.h b/usr.sbin/dhcp/includes/cf/qnx.h
index 0e78582dc44..1f5b7f8de0e 100644
--- a/usr.sbin/dhcp/includes/cf/qnx.h
+++ b/usr.sbin/dhcp/includes/cf/qnx.h
@@ -86,6 +86,7 @@ extern int h_errno;
typedef unsigned char u_int8_t;
typedef unsigned short u_int16_t;
typedef unsigned long u_int32_t;
+typedef signed char int8_t;
typedef signed short int16_t;
typedef signed long int32_t;
@@ -100,6 +101,13 @@ typedef signed long int32_t;
#define NO_SNPRINTF
#undef AF_LINK
+#ifndef LITTLE_ENDIAN
+#define LITTLE_ENDIAN 1234
+#endif
+#ifndef BYTE_ORDER
+#define BYTE_ORDER LITTLE_ENDIAN
+#endif
+
/*
NOTE: to get the routing of the 255.255.255.255 broadcasts to work
under QNX, you need to issue the following command before starting