summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/audiofile.cc3
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"