Source-Changes-HG archive

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

[src/trunk]: src/sys/ufs/ufs Don't include quota/quotaprop.h for tools.



details:   https://anonhg.NetBSD.org/src/rev/85aec4c72c76
branches:  trunk
changeset: 763563:85aec4c72c76
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Fri Mar 25 10:25:17 2011 +0000

description:
Don't include quota/quotaprop.h for tools.

diffstat:

 sys/ufs/ufs/quota.h |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 3e8fceac4557 -r 85aec4c72c76 sys/ufs/ufs/quota.h
--- a/sys/ufs/ufs/quota.h       Fri Mar 25 10:00:31 2011 +0000
+++ b/sys/ufs/ufs/quota.h       Fri Mar 25 10:25:17 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: quota.h,v 1.27 2011/03/24 17:05:45 bouyer Exp $        */
+/*     $NetBSD: quota.h,v 1.28 2011/03/25 10:25:17 bouyer Exp $        */
 
 /*
  * Copyright (c) 1982, 1986, 1993
@@ -36,7 +36,6 @@
 
 #ifndef        _UFS_UFS_QUOTA_H_
 #define        _UFS_UFS_QUOTA_H_
-#include <quota/quotaprop.h>
 
 /*
  * These definitions are common to the original disk quota implementation
@@ -55,6 +54,8 @@
 #define        GRPQUOTA        1       /* element used for group quotas */
 
 
+#if !defined(HAVE_NBTOOL_CONFIG_H)
+#include <quota/quotaprop.h>
 __inline static int __unused
 ufsclass2qtype(int class)
 {
@@ -80,6 +81,7 @@
                return -1;
        }
 }
+#endif /* !defined(HAVE_NBTOOL_CONFIG_H) */
 
 #ifdef _KERNEL
 



Home | Main Index | Thread Index | Old Index