$NetBSD: patch-al,v 1.3 2013/03/24 16:51:08 joerg Exp $ --- CommonUtilitiesLib/OSHeaders.h.orig 2005-05-18 08:01:14.000000000 +0000 +++ CommonUtilitiesLib/OSHeaders.h @@ -48,7 +48,7 @@ /* Platform-specific components */ -#if __linux__ || __linuxppc__ || __FreeBSD__ || __MacOSX__ +#if __linux__ || __linuxppc__ || __FreeBSD__ || __MacOSX__ || __NetBSD__ || defined(__DragonFly__) /* Defines */ #define _64BITARG_ "q" @@ -61,21 +61,22 @@ /* Includes */ #include + #include /* Constants */ #define QT_TIME_TO_LOCAL_TIME (-2082844800) #define QT_PATH_SEPARATOR '/' /* Typedefs */ - typedef unsigned int PointerSizedInt; - typedef unsigned char UInt8; - typedef signed char SInt8; - typedef unsigned short UInt16; - typedef signed short SInt16; - typedef unsigned long UInt32; - typedef signed long SInt32; - typedef signed long long SInt64; - typedef unsigned long long UInt64; + typedef uintptr_t PointerSizedInt; + typedef uint8_t UInt8; + typedef int8_t SInt8; + typedef uint16_t UInt16; + typedef int16_t SInt16; + typedef uint32_t UInt32; + typedef int32_t SInt32; + typedef int64_t SInt64; + typedef uint64_t UInt64; typedef float Float32; typedef double Float64; typedef UInt16 Bool16;