From: Mikko Rapeli Date: Mon, 16 Feb 2015 23:05:38 +0000 (+0100) Subject: include/uapi/sound/asound.h: include stdlib.h in userspace X-Git-Tag: v4.1-rc1~117^2~6^2~43^2~37^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4bebf7091aa15ec60edf0dcbc654410a87ca21fe;p=thirdparty%2Flinux.git 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 Signed-off-by: Takashi Iwai --- diff --git a/include/uapi/sound/asound.h b/include/uapi/sound/asound.h index 1f23cd6359578..1fe3f4f3d6969 100644 --- a/include/uapi/sound/asound.h +++ b/include/uapi/sound/asound.h @@ -25,6 +25,9 @@ #include +#ifndef __KERNEL__ +#include +#endif /* * protocol version