Source-Changes-HG archive

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

[src/trunk]: src/sys/dev The wsmux.h file is only created for kernel builds.



details:   https://anonhg.NetBSD.org/src/rev/45da621feac6
branches:  trunk
changeset: 824606:45da621feac6
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Sun Jun 11 05:26:52 2017 +0000

description:
The wsmux.h file is only created for kernel builds.

diffstat:

 sys/dev/spkr.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r f6eff54e8a49 -r 45da621feac6 sys/dev/spkr.c
--- a/sys/dev/spkr.c    Sun Jun 11 03:55:56 2017 +0000
+++ b/sys/dev/spkr.c    Sun Jun 11 05:26:52 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: spkr.c,v 1.9 2017/06/11 03:55:56 nat Exp $     */
+/*     $NetBSD: spkr.c,v 1.10 2017/06/11 05:26:52 pgoyette Exp $       */
 
 /*
  * Copyright (c) 1990 Eric S. Raymond (esr%snark.thyrsus.com@localhost)
@@ -43,9 +43,11 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: spkr.c,v 1.9 2017/06/11 03:55:56 nat Exp $");
+__KERNEL_RCSID(0, "$NetBSD: spkr.c,v 1.10 2017/06/11 05:26:52 pgoyette Exp $");
 
+#if defined(_KERNEL_OPT)
 #include "wsmux.h"
+#endif
 
 #include <sys/param.h>
 #include <sys/systm.h>



Home | Main Index | Thread Index | Old Index