diff options
author | Mikko Rapeli <mikko.rapeli@iki.fi> | 2015-02-16 23:05:27 (GMT) |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-02-17 06:43:25 (GMT) |
commit | 76a3aeac2f6c02ecf065fa9baa279dd54bf2d819 (patch) | |
tree | 0ab3451d9992459bfc65abc5e3084295c993f735 | |
parent | bfa76d49576599a4b9f9b7a71f23d73d6dcff735 (diff) | |
download | linux-76a3aeac2f6c02ecf065fa9baa279dd54bf2d819.tar.xz |
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>
-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 b357f1a..5737332 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 |