diff data/fileio/WavFileReader.h @ 1350:1bc6f70cb4c7 3.0-integration

And similar approach for the writer
author Chris Cannam
date Fri, 06 Jan 2017 21:04:52 +0000
parents 330bcc92507d
children 75d92155fa20
line wrap: on
line diff
--- a/data/fileio/WavFileReader.h	Fri Jan 06 20:51:47 2017 +0000
+++ b/data/fileio/WavFileReader.h	Fri Jan 06 21:04:52 2017 +0000
@@ -18,7 +18,10 @@
 
 #include "AudioFileReader.h"
 
+#ifdef Q_OS_WIN
+#include <windows.h>
 #define ENABLE_SNDFILE_WINDOWS_PROTOTYPES 1
+#endif
 
 #include <sndfile.h>
 #include <QMutex>