projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Try to fix Win32 build.
[dcpomatic.git]
/
src
/
lib
/
sndfile_base.cc
diff --git
a/src/lib/sndfile_base.cc
b/src/lib/sndfile_base.cc
index b7ac12c07c187e2a882d3d1f03ae8744254be488..2753cd069b305e27b3d3cf185b20b39b809f6e08 100644
(file)
--- 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"