From 65c2652a223239eb203954b4e13fa63ce60921a2 Mon Sep 17 00:00:00 2001 From: Jan Vidar Krey Date: Fri, 9 Dec 2011 14:24:21 +0100 Subject: [PATCH] Fix build errors on the Debian kfreebsd port. --- src/system.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/system.h b/src/system.h index 3078460..83a6455 100644 --- a/src/system.h +++ b/src/system.h @@ -26,7 +26,7 @@ #define _GNU_SOURCE #endif -#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__DragonFly__) || (defined(__APPLE__) && defined(__MACH__)) +#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__DragonFly__) || (defined(__APPLE__) && defined(__MACH__)) || defined(__FreeBSD_kernel__) #define BSD_LIKE #endif @@ -140,7 +140,7 @@ #define OPSYS "MacOSX" #endif -#if defined(__FreeBSD__) +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) #define OPSYS "FreeBSD" #endif