From 0c7d6adf14a568a792ce65e359f9fb177499ad74 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 21 May 2010 11:51:05 +0200 Subject: fixed compilation on FreeBSD 8.0 (64-bit) --- src/port/sys_internal.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/port/sys_internal.h b/src/port/sys_internal.h index 1eaaa4e..1a83785 100644 --- a/src/port/sys_internal.h +++ b/src/port/sys_internal.h @@ -41,6 +41,11 @@ #endif /* defined LINUX */ #if defined FREEBSD +#if OS_MAJOR_VERSION == 8 +#define HAVE_LOCK_F +#define HAVE_LOCALTIME_R +#define HAVE_DLFCN +#else #if OS_MAJOR_VERSION == 7 #if OS_MINOR_VERSION == 0 #define HAVE_LOCK_F @@ -60,6 +65,7 @@ #error unknown platform #endif /* defined OS_MAJOR_VERSION == 6 */ #endif /* defined OS_MAJOR_VERSION == 7 */ +#endif /* defined OS_MAJOR_VERSION == 8 */ #endif /* defined FREEBSD */ #if defined OPENBSD -- cgit v1.2.3-54-g00ecf