blob: 21a4a23b1326d37938424774cb791e31c458d7b2 (
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.5 2001/09/10 08:23:19 skrll Exp $
--- kfm/kioserver.cpp.orig Mon Aug 23 17:01:03 1999
+++ kfm/kioserver.cpp
@@ -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;
|