OSDN Git Service

Merge branch 'topic/uapi-fix' into for-next
authorTakashi Iwai <tiwai@suse.de>
Mon, 23 Feb 2015 08:14:03 +0000 (09:14 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 23 Feb 2015 08:14:03 +0000 (09:14 +0100)
include/uapi/sound/asequencer.h
include/uapi/sound/asound.h
include/uapi/sound/emu10k1.h
include/uapi/sound/hdspm.h

index 09c8a00..5a5fa49 100644 (file)
@@ -22,6 +22,7 @@
 #ifndef _UAPI__SOUND_ASEQUENCER_H
 #define _UAPI__SOUND_ASEQUENCER_H
 
+#include <sound/asound.h>
 
 /** version of the sequencer */
 #define SNDRV_SEQ_VERSION SNDRV_PROTOCOL_VERSION (1, 0, 1)
index 0e88e7a..fd5c0b5 100644 (file)
@@ -25,6 +25,9 @@
 
 #include <linux/types.h>
 
+#ifndef __KERNEL__
+#include <stdlib.h>
+#endif
 
 /*
  *  protocol version
index d1bbaf7..ec1535b 100644 (file)
@@ -23,8 +23,7 @@
 #define _UAPI__SOUND_EMU10K1_H
 
 #include <linux/types.h>
-
-
+#include <sound/asound.h>
 
 /*
  * ---- FX8010 ----
index b357f1a..5737332 100644 (file)
  *   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