diff options
author | Archie Cobbs <archie@FreeBSD.org> | 2001-04-21 17:56:36 +0000 |
---|---|---|
committer | Archie Cobbs <archie@FreeBSD.org> | 2001-04-21 17:56:36 +0000 |
commit | 550ba7524843ca8759a5f77f7445d7dc7aab275b (patch) | |
tree | 57b1d2f00c384af903c60969f1fda13eb4bd2749 /security/skip | |
parent | Update to version 1.01 (diff) |
Use <sys/param.h> instead of <osreldate.h> within the kernel.
PR: 26218
Submitted by: markush@acc.umu.se
Diffstat (limited to 'security/skip')
-rw-r--r-- | security/skip/files/patch-bu | 9 |
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> |