summaryrefslogtreecommitdiff
path: root/include/sound/asequencer.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-11-17 12:29:33 +0300
committerJaroslav Kysela <perex@suse.cz>2006-01-03 14:16:47 +0300
commit6560c349c501388a1f3030d02fb49e7067e6597e (patch)
tree9b93a54f692e1f93bbb910a3fb55c76ec058ac37 /include/sound/asequencer.h
parentbc1ff7fc0ae6ec2d7f2202d9126901aeb3f596cd (diff)
downloadlinux-6560c349c501388a1f3030d02fb49e7067e6597e.tar.xz
[ALSA] Clean up includes in asound.h & asequencer.h
Modules: ALSA sequencer,ALSA Core Clean up includes in asound.h and asequencer.h. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound/asequencer.h')
-rw-r--r--include/sound/asequencer.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/sound/asequencer.h b/include/sound/asequencer.h
index 728efd504262..562637b4884b 100644
--- a/include/sound/asequencer.h
+++ b/include/sound/asequencer.h
@@ -22,11 +22,10 @@
#ifndef __SOUND_ASEQUENCER_H
#define __SOUND_ASEQUENCER_H
-#ifndef __KERNEL__
+#ifdef __KERNEL__
#include <linux/ioctl.h>
-#endif
-
#include <sound/asound.h>
+#endif
/** version of the sequencer */
#define SNDRV_SEQ_VERSION SNDRV_PROTOCOL_VERSION (1, 0, 1)