diff options
author | Mikko Rapeli <mikko.rapeli@iki.fi> | 2015-02-16 23:05:38 (GMT) |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-02-17 06:43:54 (GMT) |
commit | 4bebf7091aa15ec60edf0dcbc654410a87ca21fe (patch) | |
tree | b5287e58f1831e5e66d356b08f3bc25d6cb67ffe /include/uapi/sound | |
parent | 76a3aeac2f6c02ecf065fa9baa279dd54bf2d819 (diff) | |
download | linux-4bebf7091aa15ec60edf0dcbc654410a87ca21fe.tar.xz |
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')
-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 1f23cd6..1fe3f4f 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 |