1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Fix build on -current.

PR:		13675
Submitted by:	Ying-Chieh Liao <ijliao@Terry.Dorm8.NCTU.edu.tw>
This commit is contained in:
Chris Piazza 1999-09-10 03:56:36 +00:00
parent 7150995546
commit 5b19191f47
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=21533

View File

@ -0,0 +1,12 @@
--- 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>