Module Name: src Committed By: pgoyette Date: Sun Apr 30 05:16:52 UTC 2017
Modified Files: src/sys/sys [prg-localcount2]: conf.h Log Message: Only include sys/localcount.h if we're in the _KERNEL To generate a diff of this commit: cvs rdiff -u -r1.151.6.2 -r1.151.6.3 src/sys/sys/conf.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/sys/conf.h diff -u src/sys/sys/conf.h:1.151.6.2 src/sys/sys/conf.h:1.151.6.3 --- src/sys/sys/conf.h:1.151.6.2 Sat Apr 29 10:19:32 2017 +++ src/sys/sys/conf.h Sun Apr 30 05:16:52 2017 @@ -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/localcount.h> #include <sys/device_if.h> +#ifdef _KERNEL +#include <sys/localcount.h> +#endif struct buf; struct knote;