Source-Changes-HG archive

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

[src/trunk]: src/sys/ufs/ufs Fix so non-kernel code will compile (_LKM)



details:   https://anonhg.NetBSD.org/src/rev/fe6a72d6f2c3
branches:  trunk
changeset: 494480:fe6a72d6f2c3
user:      perseant <perseant%NetBSD.org@localhost>
date:      Thu Jul 06 20:32:06 2000 +0000

description:
Fix so non-kernel code will compile (_LKM)

diffstat:

 sys/ufs/ufs/inode.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 69e45a31b988 -r fe6a72d6f2c3 sys/ufs/ufs/inode.h
--- a/sys/ufs/ufs/inode.h       Thu Jul 06 20:25:26 2000 +0000
+++ b/sys/ufs/ufs/inode.h       Thu Jul 06 20:32:06 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: inode.h,v 1.21 2000/07/05 22:25:45 perseant Exp $      */
+/*     $NetBSD: inode.h,v 1.22 2000/07/06 20:32:06 perseant Exp $      */
 
 /*
  * Copyright (c) 1982, 1989, 1993
@@ -169,7 +169,9 @@
 #define        IN_ADIROP       0x0200          /* LFS: dirop in progress */
 
 #ifdef _KERNEL
+#ifndef _LKM
 #include "fs_lfs.h" /* for ITIMES */
+#endif /* _LKM */
 /*
  * Structure used to pass around logical block paths generated by
  * ufs_getlbns and used by truncate and bmap code.



Home | Main Index | Thread Index | Old Index