From e68d860dbaa6b1bcf8104463cd3001ae946b7d4e Mon Sep 17 00:00:00 2001 From: Haru Date: Thu, 23 Jan 2014 16:51:56 +0100 Subject: Compatibility fixes for NetBSD and Solaris - Fixed some warnings in NetBSD (5.x and 6.x) and Solaris (11) Signed-off-by: Haru --- src/common/cbasetypes.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/common/cbasetypes.h') diff --git a/src/common/cbasetypes.h b/src/common/cbasetypes.h index 120f4f861..977897506 100644 --- a/src/common/cbasetypes.h +++ b/src/common/cbasetypes.h @@ -42,6 +42,11 @@ #define __DARWIN__ #endif +// Necessary for __NetBSD_Version__ (defined as VVRR00PP00) on NetBSD +#ifdef __NETBSD__ +#include +#endif // __NETBSD__ + // 64bit OS #if defined(_M_IA64) || defined(_M_X64) || defined(_WIN64) || defined(_LP64) || defined(_ILP64) || defined(__LP64__) || defined(__ppc64__) #define __64BIT__ -- cgit v1.2.3-60-g2f50