diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-04-12 19:52:58 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-04-12 19:52:58 +0200 |
commit | fbcd27a0658da1e0039b21b55aba19f60ecdd6fb (patch) | |
tree | 2794c177bbc42a4965f43f0c13723bf9fe2e04f9 | |
parent | cfd1310727d3f0440686279967e833b2ad109c8e (diff) |
Move inclusion of config.h to the top to fix missing WITH_RESAMPLE definition around resample.h header.
-rw-r--r-- | src/audiofile.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/audiofile.cc b/src/audiofile.cc index f849b0a..874b9c5 100644 --- a/src/audiofile.cc +++ b/src/audiofile.cc @@ -28,10 +28,11 @@ */ #include "audiofile.h" +#include <config.h> + #include <string.h> #include <stdlib.h> #include <unistd.h> - #include <sndfile.h> #ifdef WITH_RESAMPLE #include <samplerate.h> @@ -40,8 +41,6 @@ #include "configuration.h" -#include <config.h> - AudioFile::AudioFile(std::string filename, int filechannel) { is_loaded = false; |