From 1baa3fcc6a5a06a6c56ce81860f4747ec4811268 Mon Sep 17 00:00:00 2001 From: Petr Salinger Date: Tue, 30 Aug 2011 17:00:18 +0200 Subject: kFreeBSD 8.0 build fix fixes a couple of checks for kFreeBSD 8.0. https://bugzilla.gnome.org/show_bug.cgi?id=608518 --- sysdeps/freebsd/procmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysdeps/freebsd') diff --git a/sysdeps/freebsd/procmap.c b/sysdeps/freebsd/procmap.c index c29691a3..c7ed539a 100644 --- a/sysdeps/freebsd/procmap.c +++ b/sysdeps/freebsd/procmap.c @@ -42,7 +42,7 @@ #include #include #undef _KERNEL -#if __FreeBSD_version >= 800038 +#if (__FreeBSD_version >= 800038) || (__FreeBSD_kernel_version >= 800038) #define _WANT_FILE #include #undef _WANT_FILE @@ -113,7 +113,7 @@ _glibtop_sysdeps_freebsd_dev_inode (glibtop *server, struct vnode *vnode, return; } -#if __FreeBSD_version >= 800039 +#if (__FreeBSD_version >= 800039) || (__FreeBSD_kernel_version >= 800039) if (kvm_read (server->machine.kd, (gulong) cdev2priv(inode.i_dev), (char *) &priv, sizeof (priv)) #else -- cgit v1.2.1