From 1987e3c18e53669cf41bf2b1903c6aa4112a91ea Mon Sep 17 00:00:00 2001 From: fjoe Date: Thu, 10 Apr 2003 09:46:22 +0000 Subject: fix build on 5.x Submitted by: MAINTAINER --- sysutils/wmbluecpu/files/cpu_freebsd.c | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'sysutils/wmbluecpu') 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} }; -- cgit 'freebsd-ports-gnome' href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/'>freebsd-ports-gnome
FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines