summaryrefslogtreecommitdiff
path: root/sysutils/lsof/patches/patch-ab
blob: 03f827ddcbbaef8735eeaf5c70e9cd46c5ebdc31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
$NetBSD: patch-ab,v 1.14 2002/09/13 15:53:10 tron Exp $

--- dialects/n+obsd/dlsof.h.orig	Mon Jun 17 03:44:15 2002
+++ dialects/n+obsd/dlsof.h	Thu Sep 12 21:08:10 2002
@@ -46,6 +46,10 @@
 #include <string.h>
 #include <unistd.h>
 
+#define	_KERNEL
+#include <sys/buf.h>
+#undef	_KERNEL
+
 # if	defined(HASGETBOOTFILE)
 #include <util.h>
 # endif	/* defined(HASGETBOOTFILE) */
@@ -209,9 +213,9 @@
 
 # if	defined(HASNULLFS)
 #define	_KERNEL
-#  if	defined(NETBSDV) && NETBSDV>=1060
+#  if	defined(NETBSDV) && NETBSDV>=1050
 #include "netexport.h"
-#  endif	/* defined(NETBSDV) && NETBSDV>=1060 */
+#  endif	/* defined(NETBSDV) && NETBSDV>=1050 */
 #include <miscfs/nullfs/null.h>
 #undef	_KERNEL
 # endif	/* defined(HASNULLFS) */