Pull in <string.h> if !_KERNEL, otherwise gcc4 complains about no
prototype for memset(3) (in AUDIO_INITINFO()).
This commit is contained in:
parent
3b9b5a75bb
commit
301e60300b
@ -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 <sys/types.h>
|
||||
#include <sys/ioccom.h>
|
||||
|
||||
#ifndef _KERNEL
|
||||
#include <string.h> /* Required for memset(3) prototype (AUDIO_INITINFO) */
|
||||
#endif /* _KERNEL */
|
||||
|
||||
/*
|
||||
* Audio device
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user