Skip to content

Commit 88cacc5

Browse files
committed
Merge branch 'topic/uapi-fix' into for-next
2 parents 6176fad + b995640 commit 88cacc5

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

include/uapi/sound/asequencer.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#ifndef _UAPI__SOUND_ASEQUENCER_H
2323
#define _UAPI__SOUND_ASEQUENCER_H
2424

25+
#include <sound/asound.h>
2526

2627
/** version of the sequencer */
2728
#define SNDRV_SEQ_VERSION SNDRV_PROTOCOL_VERSION (1, 0, 1)

include/uapi/sound/asound.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525

2626
#include <linux/types.h>
2727

28+
#ifndef __KERNEL__
29+
#include <stdlib.h>
30+
#endif
2831

2932
/*
3033
* protocol version

include/uapi/sound/emu10k1.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@
2323
#define _UAPI__SOUND_EMU10K1_H
2424

2525
#include <linux/types.h>
26-
27-
26+
#include <sound/asound.h>
2827

2928
/*
3029
* ---- FX8010 ----

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)