From a50452f0159d882348a8456cf50d72b758355332 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 2 Apr 2014 08:12:46 +0200 Subject: Don't include sndfile.h if not configured for resampling. --- src/audiofile.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/audiofile.cc b/src/audiofile.cc index 05b356a..f849b0a 100644 --- a/src/audiofile.cc +++ b/src/audiofile.cc @@ -33,8 +33,9 @@ #include #include +#ifdef WITH_RESAMPLE #include - +#endif/*WITH_RESAMPLE*/ #include #include "configuration.h" -- cgit v1.2.3