From 5cc4c102ee8454d657efb59e628ad52c05e15591 Mon Sep 17 00:00:00 2001 From: Max Khon Date: Thu, 10 Apr 2003 09:46:22 +0000 Subject: [PATCH] fix build on 5.x Submitted by: MAINTAINER --- sysutils/wmbluecpu/files/cpu_freebsd.c | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/sysutils/wmbluecpu/files/cpu_freebsd.c b/sysutils/wmbluecpu/files/cpu_freebsd.c index ae27a2185856..36440aea422a 100644 --- a/sysutils/wmbluecpu/files/cpu_freebsd.c +++ b/sysutils/wmbluecpu/files/cpu_freebsd.c @@ -18,15 +18,21 @@ * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ +#include +#if __FreeBSD_version > 500100 +#include +#include +#else +#include +#endif +#include +#include +#include +#include #include #include #include #include -#include -#include -#include -#include -#include static kvm_t *kd; static struct nlist nlst[] = { {"_cp_time"}, {0} };