include/uapi/sound/asound.h: include stdlib.h in userspace

Fixes compiler errors like:
error: field ‘trigger_tstamp’ has incomplete type
error: invalid application of ‘sizeof’ to incomplete t
ype ‘struct timespec’

Signed-off-by: Mikko Rapeli <mikko.rapeli@iki.fi>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Mikko Rapeli 2015-02-17 00:05:38 +01:00 committed by Takashi Iwai
parent 76a3aeac2f
commit 4bebf7091a

View File

@ -25,6 +25,9 @@
#include <linux/types.h>
#ifndef __KERNEL__
#include <stdlib.h>
#endif
/*
* protocol version