Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/fstat pull in <sys/mount.h> (with _KERNEL) to get de...



details:   https://anonhg.NetBSD.org/src/rev/4ec4bea5f689
branches:  trunk
changeset: 476295:4ec4bea5f689
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sun Sep 12 16:47:42 1999 +0000

description:
pull in <sys/mount.h> (with _KERNEL) to get definition of struct netexport,
used in struct ntfsmount

diffstat:

 usr.bin/fstat/ntfs.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r a75787783f23 -r 4ec4bea5f689 usr.bin/fstat/ntfs.c
--- a/usr.bin/fstat/ntfs.c      Sun Sep 12 16:41:05 1999 +0000
+++ b/usr.bin/fstat/ntfs.c      Sun Sep 12 16:47:42 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ntfs.c,v 1.1 1999/08/02 17:39:13 jdolecek Exp $        */
+/*     $NetBSD: ntfs.c,v 1.2 1999/09/12 16:47:42 jdolecek Exp $        */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: ntfs.c,v 1.1 1999/08/02 17:39:13 jdolecek Exp $");
+__RCSID("$NetBSD: ntfs.c,v 1.2 1999/09/12 16:47:42 jdolecek Exp $");
 
 #include <sys/param.h>
 #include <sys/time.h>
@@ -45,6 +45,10 @@
 #include <sys/user.h>
 #include <sys/stat.h>
 #include <sys/vnode.h>
+#define _KERNEL
+#include <sys/mount.h>
+#undef _KERNEL
+
 #include <ntfs/ntfs.h>
 #undef dprintf
 #include <ntfs/ntfs_inode.h>



Home | Main Index | Thread Index | Old Index