diff options
Diffstat (limited to 'sysutils/fam/patches/patch-af')
-rw-r--r-- | sysutils/fam/patches/patch-af | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sysutils/fam/patches/patch-af b/sysutils/fam/patches/patch-af index 31f15d1fd40..c83fb561f82 100644 --- a/sysutils/fam/patches/patch-af +++ b/sysutils/fam/patches/patch-af @@ -1,7 +1,7 @@ -$NetBSD: patch-af,v 1.2 2002/08/25 19:23:21 jlam Exp $ +$NetBSD: patch-af,v 1.3 2004/03/28 22:00:05 minskim Exp $ ---- fam/FileSystemTable.c++.orig Tue Dec 18 11:03:37 2001 -+++ fam/FileSystemTable.c++ +--- src/FileSystemTable.c++.orig 2003-01-18 08:18:12.000000000 -0600 ++++ src/FileSystemTable.c++ @@ -21,11 +21,13 @@ // Temple Place - Suite 330, Boston MA 02111-1307, USA. @@ -10,19 +10,19 @@ $NetBSD: patch-af,v 1.2 2002/08/25 19:23:21 jlam Exp $ #include "FileSystemTable.h" -#include <mntent.h> -+#include "mntent.h" ++#include "fam-mntent.h" #include <stdlib.h> #include <string.h> +#include <sys/param.h> #if HAVE_STATVFS #include <sys/statvfs.h> -@@ -255,7 +257,10 @@ +@@ -255,7 +257,10 @@ FileSystemTable::find(const char *path, // create_fs_by_name initializes our "root" member variable. if (!fs_by_name) { create_fs_by_name(); +#if !defined(BSD) -+ /* there is no mtab "file" in BSD */ ++ /* there is no mtab "file" in BSD */ mtab_watcher = new InternalClient(mtab_name, mtab_event_handler, NULL); +#endif } |