From: Mikko Rapeli Date: Mon, 16 Feb 2015 23:05:27 +0000 (+0100) Subject: hdspm.h: include stdint.h in userspace X-Git-Tag: firefly_0821_release~176^2~1862^2~19^2~43^2~37^2~3 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=76a3aeac2f6c02ecf065fa9baa279dd54bf2d819;p=firefly-linux-kernel-4.4.55.git hdspm.h: include stdint.h in userspace Fixes compilation error: sound/hdspm.h:43:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli Signed-off-by: Takashi Iwai --- diff --git a/include/uapi/sound/hdspm.h b/include/uapi/sound/hdspm.h index b357f1a5e29c..5737332d38f2 100644 --- a/include/uapi/sound/hdspm.h +++ b/include/uapi/sound/hdspm.h @@ -20,6 +20,12 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#ifdef __KERNEL__ +#include +#else +#include +#endif + /* Maximum channels is 64 even on 56Mode you have 64playbacks to matrix */ #define HDSPM_MAX_CHANNELS 64