aboutsummaryrefslogtreecommitdiffstats
path: root/security/skip/files
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2001-04-22 01:56:36 +0800
committerarchie <archie@FreeBSD.org>2001-04-22 01:56:36 +0800
commitd664a9452aa7f7b99c83262554c82bc3882f3c63 (patch)
tree868f4cbce6c496428acaa2e382e7d72b982f9191 /security/skip/files
parent463c9e0ae02948fa7e27a3a63eceb2747659aa71 (diff)
downloadfreebsd-ports-gnome-d664a9452aa7f7b99c83262554c82bc3882f3c63.tar.gz
freebsd-ports-gnome-d664a9452aa7f7b99c83262554c82bc3882f3c63.tar.zst
freebsd-ports-gnome-d664a9452aa7f7b99c83262554c82bc3882f3c63.zip
Use <sys/param.h> instead of <osreldate.h> within the kernel.
PR: 26218 Submitted by: markush@acc.umu.se
Diffstat (limited to 'security/skip/files')
-rw-r--r--security/skip/files/patch-bu9
1 files changed, 4 insertions, 5 deletions
diff --git a/security/skip/files/patch-bu b/security/skip/files/patch-bu
index 02b3a944879d..a44c9bb6e4de 100644
--- a/security/skip/files/patch-bu
+++ b/security/skip/files/patch-bu
@@ -13,27 +13,26 @@ diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_os.h work.
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
-@@ -69,6 +68,12 @@
+@@ -69,6 +68,11 @@
#include <dirent.h>
#endif
-+#include <osreldate.h>
-+
+#if defined(KERNEL) || defined(_KERNEL)
+#include <sys/cdefs.h>
+#endif
+
++#include <sys/param.h>
#include <sys/types.h>
#include <sys/errno.h>
#include <sys/time.h>
-@@ -78,15 +82,20 @@
+@@ -78,15 +82,19 @@
#include <sys/stat.h>
#include <sys/socket.h>
#include <sys/syslog.h>
+-#include <sys/param.h>
+#if defined(KERNEL) || defined(_KERNEL) || __FreeBSD_version < 410000
+#include <sys/socketvar.h>
+#endif
- #include <sys/param.h>
#include <sys/uio.h>
#include <sys/file.h>
#include <sys/sockio.h>