From: Mikko Rapeli Date: Mon, 16 Feb 2015 23:05:27 +0000 (+0100) Subject: hdspm.h: include stdint.h in userspace X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=76a3aeac2f6c02ecf065fa9baa279dd54bf2d819;p=deliverable%2Flinux.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