src/aubio.h: add HAVE_SAMPLERATE flags
authorPaul Brossier <piem@piem.org>
Sat, 26 Sep 2009 04:51:19 +0000 (06:51 +0200)
committerPaul Brossier <piem@piem.org>
Sat, 26 Sep 2009 04:51:19 +0000 (06:51 +0200)
src/aubio.h

index 477a21917be5945b00eddc51ef2ee39a0af8036b..c3be447643e1808fa9864177de1ad82516ee19a3 100644 (file)
@@ -67,7 +67,9 @@ extern "C"
 #include "utils/scale.h"
 #include "utils/hist.h"
 #include "spectral/tss.h"
+#if HAVE_SAMPLERATE
 #include "temporal/resample.h"
+#endif /* HAVE_SAMPLERATE */
 #include "temporal/biquad.h"
 #include "temporal/filter.h"
 #include "temporal/adesign.h"