Module Name:    src
Committed By:   bouyer
Date:           Fri Mar 25 10:25:17 UTC 2011

Modified Files:
        src/sys/ufs/ufs: quota.h

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


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/ufs/ufs/quota.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/ufs/ufs/quota.h
diff -u src/sys/ufs/ufs/quota.h:1.27 src/sys/ufs/ufs/quota.h:1.28
--- src/sys/ufs/ufs/quota.h:1.27	Thu Mar 24 17:05:45 2011
+++ src/sys/ufs/ufs/quota.h	Fri Mar 25 10:25:17 2011
@@ -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
 

Reply via email to