diff options
author | Archie Cobbs <archie@FreeBSD.org> | 2000-08-08 22:19:19 +0000 |
---|---|---|
committer | Archie Cobbs <archie@FreeBSD.org> | 2000-08-08 22:19:19 +0000 |
commit | 69ef48446e4838aa3d6ff3a0952bdf64cb1e32df (patch) | |
tree | ac53526384510fdc46d59375a8373a65fbfd0f95 /security | |
parent | Update to 0.32.1 (diff) |
Only #include <sys/socketvar.h> in kernel compilation.
Notes
Notes:
svn path=/head/; revision=31434
Diffstat (limited to 'security')
-rw-r--r-- | security/skip/files/patch-bu | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/security/skip/files/patch-bu b/security/skip/files/patch-bu index 95e52ebdc13b..02b3a944879d 100644 --- a/security/skip/files/patch-bu +++ b/security/skip/files/patch-bu @@ -26,12 +26,13 @@ diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_os.h work. #include <sys/types.h> #include <sys/errno.h> #include <sys/time.h> -@@ -77,16 +82,19 @@ - #include <sys/malloc.h> +@@ -78,15 +82,20 @@ #include <sys/stat.h> #include <sys/socket.h> -+#include <sys/socketvar.h> #include <sys/syslog.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> |