diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-02 17:37:35 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-02 17:37:35 +0100 |
| commit | da81953aac2d02e904500f89aef303953d02eeb0 (patch) | |
| tree | fbd6ae4611b08a04346c9837c387f555d28ff905 /src/lib | |
| parent | 010a8b2700389b10c7567963edcf7a02a1920e15 (diff) | |
Try to fix Win32 build.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/sndfile_base.cc | 4 | ||||
| -rw-r--r-- | src/lib/sndfile_decoder.cc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/sndfile_base.cc b/src/lib/sndfile_base.cc index b7ac12c07..2753cd069 100644 --- a/src/lib/sndfile_base.cc +++ b/src/lib/sndfile_base.cc @@ -20,6 +20,10 @@ #include "sndfile_base.h" #include "sndfile_content.h" #include "exceptions.h" +#ifdef DCPOMATIC_WINDOWS +#include <windows.h> +#define ENABLE_SNDFILE_WINDOWS_PROTOTYPES 1 +#endif #include "i18n.h" diff --git a/src/lib/sndfile_decoder.cc b/src/lib/sndfile_decoder.cc index 2c47fcd9e..68b60c7ac 100644 --- a/src/lib/sndfile_decoder.cc +++ b/src/lib/sndfile_decoder.cc @@ -18,10 +18,6 @@ */ #include <iostream> -#ifdef DCPOMATIC_WINDOWS -#include <windows.h> -#define ENABLE_SNDFILE_WINDOWS_PROTOTYPES 1 -#endif #include <sndfile.h> #include "sndfile_content.h" #include "sndfile_decoder.h" |
