summaryrefslogtreecommitdiffstats
path: root/include/sound/asequencer.h
diff options
context:
space:
mode:
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)
OpenPOWER on IntegriCloud