diff options
author | Mikko Rapeli <mikko.rapeli@iki.fi> | 2015-02-17 00:05:27 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-02-17 07:43:25 +0100 |
commit | 76a3aeac2f6c02ecf065fa9baa279dd54bf2d819 (patch) | |
tree | 0ab3451d9992459bfc65abc5e3084295c993f735 /include/uapi/sound | |
parent | bfa76d49576599a4b9f9b7a71f23d73d6dcff735 (diff) |
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 <mikko.rapeli@iki.fi>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/uapi/sound')
-rw-r--r-- | include/uapi/sound/hdspm.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 <linux/types.h> +#else +#include <stdint.h> +#endif + /* Maximum channels is 64 even on 56Mode you have 64playbacks to matrix */ #define HDSPM_MAX_CHANNELS 64 |