Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/prg-localcount2]: src/sys/sys Only include sys/localcount.h if we're in ...
details: https://anonhg.NetBSD.org/src/rev/ca5f4c0c0986
branches: prg-localcount2
changeset: 823528:ca5f4c0c0986
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Sun Apr 30 05:16:52 2017 +0000
description:
Only include sys/localcount.h if we're in the _KERNEL
diffstat:
sys/sys/conf.h | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 63c15937951a -r ca5f4c0c0986 sys/sys/conf.h
--- a/sys/sys/conf.h Sun Apr 30 04:56:55 2017 +0000
+++ b/sys/sys/conf.h Sun Apr 30 05:16:52 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: conf.h,v 1.151.6.2 2017/04/29 10:19:32 pgoyette Exp $ */
+/* $NetBSD: conf.h,v 1.151.6.3 2017/04/30 05:16:52 pgoyette Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -44,8 +44,10 @@
*/
#include <sys/queue.h>
+#include <sys/device_if.h>
+#ifdef _KERNEL
#include <sys/localcount.h>
-#include <sys/device_if.h>
+#endif
struct buf;
struct knote;
Home |
Main Index |
Thread Index |
Old Index