aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2000-08-09 06:19:19 +0800
committerarchie <archie@FreeBSD.org>2000-08-09 06:19:19 +0800
commit2321f9243e57502448f08736c1b2f15ba8e2ce39 (patch)
treef9b5f2b9820f436feccbf221beffbd32aa376e83 /security
parent62bf529d1c015e7e93ceff5e6764a40afafdb829 (diff)
downloadfreebsd-ports-gnome-2321f9243e57502448f08736c1b2f15ba8e2ce39.tar.gz
freebsd-ports-gnome-2321f9243e57502448f08736c1b2f15ba8e2ce39.tar.zst
freebsd-ports-gnome-2321f9243e57502448f08736c1b2f15ba8e2ce39.zip
Only #include <sys/socketvar.h> in kernel compilation.
Diffstat (limited to 'security')
-rw-r--r--security/skip/files/patch-bu7
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>