diff --git a/headers/os/support/SupportDefs.h b/headers/os/support/SupportDefs.h index b42669a884..c00179184f 100644 --- a/headers/os/support/SupportDefs.h +++ b/headers/os/support/SupportDefs.h @@ -27,6 +27,14 @@ #ifndef _SUPPORT_DEFS_H #define _SUPPORT_DEFS_H +/* this !must! be located before the include of sys/types.h */ +#ifndef _SYS_TYPES_H +typedef unsigned long ulong; +typedef unsigned int uint; +typedef unsigned short ushort; +#endif // _SYS_TYPES_H + + // Standard Includes ----------------------------------------------------------- // System Includes ------------------------------------------------------------- @@ -42,13 +50,6 @@ // Globals --------------------------------------------------------------------- -#ifndef _SYS_TYPES_H -typedef unsigned long ulong; -typedef unsigned int uint; -typedef unsigned short ushort; -#endif // _SYS_TYPES_H - - // Shorthand type formats ------------------------------------------------------ typedef signed char int8;