openbsd-ports/sysutils/lsof/patches/patch-dialects_n+obsd_dlsof_h
sthen 63b61837cd fix with vmmap, originally from ariane@
(recommitting the right diff..)
2012-03-15 21:39:53 +00:00

22 lines
821 B
Plaintext

$OpenBSD: patch-dialects_n+obsd_dlsof_h,v 1.4 2012/03/15 21:39:53 sthen Exp $
--- dialects/n+obsd/dlsof.h.orig Tue Mar 28 23:54:15 2006
+++ dialects/n+obsd/dlsof.h Wed Mar 14 10:04:34 2012
@@ -150,6 +150,7 @@ struct uio; /* dummy for function prototype in <sys/bu
struct nameidata; /* to satisfy a function prototype in msdosfsmount.h */
#include <msdosfs/msdosfsmount.h>
#undef _KERNEL
+#include <sys/lock.h>
#include <msdosfs/direntry.h>
#include <msdosfs/denode.h>
# endif /* defined(HASMSDOSFS) */
@@ -416,8 +417,7 @@ struct vop_advlock_args;
# if defined(UVM)
# if defined(OPENBSDV)
-#define _UVM_UVM_FAULT_I_H_ 1 /* avoid OpenBSD's
- /* <uvm/uvm_fault_i.h */
+#define _UVM_UVM_FAULT_I_H_ 1 /* avoid OpenBSD's <uvm/uvm_fault_i.h */
# endif /* defined(OPENBSDV) */
#define FALSE 0
#define TRUE 1