aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Jennejohn <gj@FreeBSD.org>2000-03-04 09:43:26 +0000
committerGary Jennejohn <gj@FreeBSD.org>2000-03-04 09:43:26 +0000
commitc96c7385e57e40d63e58064d1a1a842a3db2f35f (patch)
tree714123ec1991c658d14e43b924b7b7fdbb870d84
parenta89d96a4124deae429ff0850dec5f464069f1d82 (diff)
downloadports-c96c7385e57e40d63e58064d1a1a842a3db2f35f.tar.gz
ports-c96c7385e57e40d63e58064d1a1a842a3db2f35f.zip
Make these compile under -current.
Approved by: maintainer
Notes
Notes: svn path=/head/; revision=26520
-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>