summaryrefslogtreecommitdiff
path: root/sysutils/lsof/files/patch-dlsof.h
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2005-10-16 07:41:55 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2005-10-16 07:41:55 +0000
commit40a3261d1a6e2617f6afde0cd6d762a7e211af7a (patch)
treed70bbf882801af3a4e58dde3ed6a1da1849479d4 /sysutils/lsof/files/patch-dlsof.h
parenta9f801a2186fcb89f70f7dcb211c6d4922c0e3af (diff)
Diffstat (limited to 'sysutils/lsof/files/patch-dlsof.h')
-rw-r--r--sysutils/lsof/files/patch-dlsof.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/lsof/files/patch-dlsof.h b/sysutils/lsof/files/patch-dlsof.h
new file mode 100644
index 000000000000..a4beb2bcc246
--- /dev/null
+++ b/sysutils/lsof/files/patch-dlsof.h
@@ -0,0 +1,12 @@
+--- dialects/freebsd/dlsof.h.orig Mon Oct 3 06:22:52 2005
++++ dialects/freebsd/dlsof.h Sun Oct 16 00:18:58 2005
+@@ -306,6 +306,9 @@ struct vop_advlock_args { int dummy; };
+ #include <fs/devfs/devfs_int.h>
+ # endif /* defined(SI_PRIV) */
+
++#if FREEBSDV>=6000
++#include <sys/sx.h>
++#endif /* FREEBSDV>=6000 */
+ #include <fs/devfs/devfs.h>
+ #undef _KERNEL
+ # endif /* FREEBSDV>=5000 */