Skip to content

Commit 76a3aea

Browse files
mcfrisktiwai
authored andcommitted
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>
1 parent bfa76d4 commit 76a3aea

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

include/uapi/sound/hdspm.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@
2020
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
2121
*/
2222

23+
#ifdef __KERNEL__
24+
#include <linux/types.h>
25+
#else
26+
#include <stdint.h>
27+
#endif
28+
2329
/* Maximum channels is 64 even on 56Mode you have 64playbacks to matrix */
2430
#define HDSPM_MAX_CHANNELS 64
2531

0 commit comments

Comments
 (0)