From d7e6d6f0a38b87e0f52b5894c8bf65222d6b84c0 Mon Sep 17 00:00:00 2001 From: beveloper Date: Wed, 28 Aug 2002 17:26:06 +0000 Subject: [PATCH] fix a minor problem git-svn-id: file:///srv/svn/repos/haiku/trunk/current@910 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/os/support/SupportDefs.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) 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;