From 301e60300ba55f894a74761edb6fa3ad072cf8c1 Mon Sep 17 00:00:00 2001 From: scw Date: Sun, 18 Jun 2006 20:45:09 +0000 Subject: [PATCH] Pull in if !_KERNEL, otherwise gcc4 complains about no prototype for memset(3) (in AUDIO_INITINFO()). --- sys/sys/audioio.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/sys/audioio.h b/sys/sys/audioio.h index 3238d0d790b0..4ae595499ee0 100644 --- a/sys/sys/audioio.h +++ b/sys/sys/audioio.h @@ -1,4 +1,4 @@ -/* $NetBSD: audioio.h,v 1.30 2006/03/28 21:12:04 kleink Exp $ */ +/* $NetBSD: audioio.h,v 1.31 2006/06/18 20:45:09 scw Exp $ */ /* * Copyright (c) 1991-1993 Regents of the University of California. @@ -40,6 +40,10 @@ #include #include +#ifndef _KERNEL +#include /* Required for memset(3) prototype (AUDIO_INITINFO) */ +#endif /* _KERNEL */ + /* * Audio device */