]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Do not include sound/asequencer.h in user apps.
authorTakashi Iwai <tiwai@suse.de>
Mon, 9 Jul 2001 08:33:35 +0000 (08:33 +0000)
committerTakashi Iwai <tiwai@suse.de>
Mon, 9 Jul 2001 08:33:35 +0000 (08:33 +0000)
include/header.h
include/seq_event.h

index 0053df26f9ff492d74b3bb6cae2da66bbfb17b6c..fd47766238d9ce2000a330cbdb0970da0a31229f 100644 (file)
@@ -29,7 +29,6 @@
 
 #include <sound/asound.h>
 #include <sound/asoundef.h>
-#include <sound/asequencer.h>
 #include <unistd.h>
 #include <stdio.h>
 #include <stdlib.h>
index b8a6fc1670fc5e6e19387022f1b17e511ca7fffe..9a2a3f289b7ac7dc6a2e7717e62c2c48b6b2e1f6 100644 (file)
@@ -209,7 +209,9 @@ enum snd_seq_event_type {
 };
 
 
-#ifndef _SND_SEQ_IN_LOCAL
+#ifdef _SND_SEQ_IN_LOCAL
+#include <sound/asequencer.h>
+#else
 
 /** Sequencer event address */
 typedef struct snd_seq_addr {