Try to fix Win32 build.
authorCarl Hetherington <cth@carlh.net>
Tue, 2 Jun 2015 16:37:35 +0000 (17:37 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 2 Jun 2015 16:37:35 +0000 (17:37 +0100)
src/lib/sndfile_base.cc
src/lib/sndfile_decoder.cc

index b7ac12c07c187e2a882d3d1f03ae8744254be488..2753cd069b305e27b3d3cf185b20b39b809f6e08 100644 (file)
 #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"
 
index 2c47fcd9e9ca9ddff3946590dc9008d3ff8d8815..68b60c7ac1c8330b523a87d71863dc9b29be03eb 100644 (file)
 */
 
 #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"