1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/sysutils/xsysinfo/files/patch-ag
Chris Piazza 5b19191f47 Fix build on -current.
PR:		13675
Submitted by:	Ying-Chieh Liao <ijliao@Terry.Dorm8.NCTU.edu.tw>
1999-09-10 03:56:36 +00:00

13 lines
347 B
Plaintext

--- sysinfo.c.orig Thu Sep 9 20:54:08 1999
+++ sysinfo.c Thu Sep 9 20:54:25 1999
@@ -13,7 +13,9 @@
#include <sys/ioctl_compat.h> /* XXX NTTYDISC is too well hidden */
#include <sys/tty.h>
#include <sys/conf.h>
+#if __FreeBSD_version < 400000
#include <sys/rlist.h>
+#endif
#include <sys/sysctl.h>
#include <sys/socket.h>
#include <err.h>