summaryrefslogtreecommitdiff
path: root/src/lib/sndfile_base.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/sndfile_base.cc')
-rw-r--r--src/lib/sndfile_base.cc4
1 files changed, 4 insertions, 0 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"