OSDN Git Service

fixed the compilation without jack support.
authorTakashi Iwai <tiwai@suse.de>
Mon, 17 Feb 2003 14:34:41 +0000 (14:34 +0000)
committerTakashi Iwai <tiwai@suse.de>
Mon, 17 Feb 2003 14:34:41 +0000 (14:34 +0000)
src/pcm/pcm_symbols.c

index 089077b..fc91af9 100644 (file)
@@ -20,6 +20,8 @@
 
 #ifndef PIC
 
+#include "config.h"
+
 extern const char *_snd_module_pcm_adpcm;
 extern const char *_snd_module_pcm_alaw;
 extern const char *_snd_module_pcm_copy;
@@ -39,7 +41,9 @@ extern const char *_snd_module_pcm_shm;
 extern const char *_snd_module_pcm_lfloat;
 extern const char *_snd_module_pcm_ladspa;
 extern const char *_snd_module_pcm_dmix;
+#ifdef HAVE_JACK
 extern const char *_snd_module_pcm_jack;
+#endif
 
 static const char **snd_pcm_open_objects[] = {
        &_snd_module_pcm_adpcm,
@@ -61,7 +65,9 @@ static const char **snd_pcm_open_objects[] = {
        &_snd_module_pcm_lfloat,
        &_snd_module_pcm_ladspa,
        &_snd_module_pcm_dmix,
+#ifdef HAVE_JACK
        &_snd_module_pcm_jack
+#endif
 };
        
 void *snd_pcm_open_symbols(void)