aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorgj <gj@FreeBSD.org>2000-03-04 17:43:26 +0800
committergj <gj@FreeBSD.org>2000-03-04 17:43:26 +0800
commit4d25e872a36dc466b79873047974739adaf5c885 (patch)
tree3c066ee419bcfb518cf215c51ee80a11d7e80d6b /sysutils
parent91e000c440461976bfc1c7926b02437d0fc96d08 (diff)
downloadfreebsd-ports-gnome-4d25e872a36dc466b79873047974739adaf5c885.tar.gz
freebsd-ports-gnome-4d25e872a36dc466b79873047974739adaf5c885.tar.zst
freebsd-ports-gnome-4d25e872a36dc466b79873047974739adaf5c885.zip
Make these compile under -current.
Approved by: maintainer
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/xperfmon/files/freebsd_system.c2
-rw-r--r--sysutils/xperfmon3/files/freebsd_system.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/sysutils/xperfmon/files/freebsd_system.c b/sysutils/xperfmon/files/freebsd_system.c
index d20ec2c08751..98d8e738be2c 100644
--- a/sysutils/xperfmon/files/freebsd_system.c
+++ b/sysutils/xperfmon/files/freebsd_system.c
@@ -88,7 +88,9 @@
#include <netinet/in.h>
#include <sys/stat.h>
#include <sys/conf.h>
+#if __FreeBSD_version < 400000
#include <sys/rlist.h>
+#endif
#include <sys/mount.h>
#include <nfs/rpcv2.h>
#include <nfs/nfsv2.h>
diff --git a/sysutils/xperfmon3/files/freebsd_system.c b/sysutils/xperfmon3/files/freebsd_system.c
index e78645d21110..f4a0dd4d0583 100644
--- a/sysutils/xperfmon3/files/freebsd_system.c
+++ b/sysutils/xperfmon3/files/freebsd_system.c
@@ -129,7 +129,9 @@ static char rcsid[] = "$FreeBSD$";
#include <netinet/in.h>
#include <sys/stat.h>
#include <sys/conf.h>
+#if __FreeBSD_version < 400000
#include <sys/rlist.h>
+#endif
#include <sys/mount.h>
#include <nfs/rpcv2.h>
#include <nfs/nfsproto.h>