diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-04-02 08:12:46 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-04-02 08:12:46 +0200 |
commit | a50452f0159d882348a8456cf50d72b758355332 (patch) | |
tree | c1736dd769dd3f3939dd5f5fb1b1c8d105437533 | |
parent | 011143d37aa438a7204c6a4a407db5c49e3fc6c5 (diff) |
Don't include sndfile.h if not configured for resampling.
-rw-r--r-- | src/audiofile.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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 <unistd.h> #include <sndfile.h> +#ifdef WITH_RESAMPLE #include <samplerate.h> - +#endif/*WITH_RESAMPLE*/ #include <hugin.hpp> #include "configuration.h" |