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/575676c786fc
branches:  trunk
changeset: 343206:575676c786fc
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 3b7520f76e60 -r 575676c786fc 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