Source-Changes-HG archive

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

[src/trunk]: src/external/cddl/osnet/dist/uts/common/sys sys/conf.h is a kern...



details:   https://anonhg.NetBSD.org/src/rev/bc00d38f4893
branches:  trunk
changeset: 813348:bc00d38f4893
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jan 24 22:00:53 2016 +0000

description:
sys/conf.h is a kernel only header

diffstat:

 external/cddl/osnet/dist/uts/common/sys/stropts.h |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r e3f6028924a5 -r bc00d38f4893 external/cddl/osnet/dist/uts/common/sys/stropts.h
--- a/external/cddl/osnet/dist/uts/common/sys/stropts.h Sun Jan 24 21:56:43 2016 +0000
+++ b/external/cddl/osnet/dist/uts/common/sys/stropts.h Sun Jan 24 22:00:53 2016 +0000
@@ -37,7 +37,9 @@
 /*
  * For FMNAMESZ define.
  */
+#ifdef _KERNEL
 #include <sys/conf.h>
+#endif
 
 #ifdef __cplusplus
 extern "C" {



Home | Main Index | Thread Index | Old Index