diff options
author | Mikko Rapeli <mikko.rapeli@iki.fi> | 2015-02-17 00:05:38 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-02-17 07:43:54 +0100 |
commit | 4bebf7091aa15ec60edf0dcbc654410a87ca21fe (patch) | |
tree | b5287e58f1831e5e66d356b08f3bc25d6cb67ffe /include/uapi/sound/asound.h | |
parent | 76a3aeac2f6c02ecf065fa9baa279dd54bf2d819 (diff) | |
download | talos-op-linux-4bebf7091aa15ec60edf0dcbc654410a87ca21fe.tar.gz talos-op-linux-4bebf7091aa15ec60edf0dcbc654410a87ca21fe.zip |
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>
Diffstat (limited to 'include/uapi/sound/asound.h')
-rw-r--r-- | include/uapi/sound/asound.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/sound/asound.h b/include/uapi/sound/asound.h index 1f23cd635957..1fe3f4f3d696 100644 --- a/include/uapi/sound/asound.h +++ b/include/uapi/sound/asound.h @@ -25,6 +25,9 @@ #include <linux/types.h> +#ifndef __KERNEL__ +#include <stdlib.h> +#endif /* * protocol version |