[PATCH 24/45] hdspm.h: include stdint.h in userspace
From: Mikko Rapeli
Date: Mon Feb 16 2015 - 18:07:41 EST
Fixes compilation error:
sound/hdspm.h:43:2: error: unknown type name âuint32_tâ
Signed-off-by: Mikko Rapeli <mikko.rapeli@xxxxxx>
---
include/uapi/sound/hdspm.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/include/uapi/sound/hdspm.h b/include/uapi/sound/hdspm.h
index d956c35..f799828 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
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/