From 49c997b9b14e7558703afd037fec76f09154fabb Mon Sep 17 00:00:00 2001 From: haydentech Date: Wed, 26 May 2004 16:54:54 +0000 Subject: [PATCH] The sys/types.h header define varies by platform, so check for both possibilities git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7659 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/os/support/SupportDefs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/headers/os/support/SupportDefs.h b/headers/os/support/SupportDefs.h index 002d28227d..b74c6e3d2a 100644 --- a/headers/os/support/SupportDefs.h +++ b/headers/os/support/SupportDefs.h @@ -28,11 +28,11 @@ #define _SUPPORT_DEFS_H /* this !must! be located before the include of sys/types.h */ -#ifndef _SYS_TYPES_H +#if !defined(_SYS_TYPES_H) && !defined(_SYS_TYPES_H_) typedef unsigned long ulong; typedef unsigned int uint; typedef unsigned short ushort; -#endif // _SYS_TYPES_H +#endif // _SYS_TYPES_H / _SYS_TYPES_H_ // Standard Includes -----------------------------------------------------------