summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorMikko Rapeli <mikko.rapeli@iki.fi>2015-02-16 23:05:27 (GMT)
committerTakashi Iwai <tiwai@suse.de>2015-02-17 06:43:25 (GMT)
commit76a3aeac2f6c02ecf065fa9baa279dd54bf2d819 (patch)
tree0ab3451d9992459bfc65abc5e3084295c993f735 /include/uapi
parentbfa76d49576599a4b9f9b7a71f23d73d6dcff735 (diff)
downloadlinux-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>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/sound/hdspm.h6
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