diff options
author | Davide Beatrici <davidebeatrici@gmail.com> | 2019-09-12 23:44:16 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-12 23:44:16 +0300 |
commit | a38d19a7595c3e672f5ed549400b36348e01e442 (patch) | |
tree | 34bd1c4db9b95748d263aea811e849dec7e5525c /src/mumble/VoiceRecorder.h | |
parent | 713b92c3c233f8f38200c4a458e0196d3d39a3b0 (diff) | |
parent | 15831dbca85dd906edbad2bfff2b147527a456e2 (diff) |
Merge PR #3644: Don't include PCH headers directly, add missing includes
Diffstat (limited to 'src/mumble/VoiceRecorder.h')
-rw-r--r-- | src/mumble/VoiceRecorder.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/mumble/VoiceRecorder.h b/src/mumble/VoiceRecorder.h index f82b8cf88..7eac9712c 100644 --- a/src/mumble/VoiceRecorder.h +++ b/src/mumble/VoiceRecorder.h @@ -6,12 +6,17 @@ #ifndef MUMBLE_MUMBLE_VOICERECORDER_H_ #define MUMBLE_MUMBLE_VOICERECORDER_H_ +#include <QtCore/QtGlobal> + +#ifdef Q_OS_WIN +# include "win.h" +#endif + #ifndef Q_MOC_RUN # include <boost/scoped_ptr.hpp> # include <boost/shared_array.hpp> #endif -#include <sndfile.h> #include <QtCore/QDateTime> #include <QtCore/QHash> #include <QtCore/QMutex> @@ -19,6 +24,12 @@ #include <QtCore/QThread> #include <QtCore/QWaitCondition> +#ifdef Q_OS_WIN +# define ENABLE_SNDFILE_WINDOWS_PROTOTYPES 1 +#endif + +#include <sndfile.h> + class ClientUser; class RecordUser; class Timer; |