summaryrefslogtreecommitdiff
path: root/x11/kdebase/patches/patch-ar
blob: 8ba43e9f65b7677c5d50e197c4947d976684d094 (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
28
29
30
31
$NetBSD: patch-ar,v 1.4 1999/11/12 04:50:00 hubertf Exp $

--- ./kfm/kioserver.cpp	Mon Aug 23 18:01:03 1999
+++ /usr/pkgsrc/x11/kdebase/work.i386.unpatched/kdebase-1.1.2/kfm/kioserver.cpp	Fri Nov 12 05:10:34 1999
@@ -19,7 +19,7 @@
 #include <sys/mnttab.h>
 #endif
 
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined (__NetBSD__)
 #include <sys/param.h>
 #include <sys/ucred.h>
 #include <sys/mount.h>
@@ -420,7 +420,7 @@
 
 QString KIOServer::findDeviceMountPoint( const char *_device, const char *_file )
 {
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined (__NetBSD__)
     if( !strcmp( "/etc/mtab", _file))
     {
 	struct statfs *buf;
@@ -447,7 +447,7 @@
 	}
     }
     
-#endif /* __FreeBSD__ */             
+#endif /* __FreeBSD__ || __NetBSD__ */             
 
 #ifdef HAVE_VOLMGT
     const char *volpath;