diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 46ee46e89..7b1f667cc 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -896,8 +896,6 @@ set( FASTMATH_SOURCES polyrenderer/poly_all.cpp sound/oplsynth/opl_mus_player.cpp sound/fmodsound.cpp - sound/i_music.cpp - sound/i_sound.cpp sound/mpg123_decoder.cpp sound/music_midi_base.cpp sound/oalsound.cpp @@ -1228,6 +1226,8 @@ set (PCH_SOURCES scripting/zscript/zcc_compile.cpp scripting/zscript/zcc_parser.cpp sfmt/SFMT.cpp + sound/i_music.cpp + sound/i_sound.cpp sound/mididevices/music_opldumper_mididevice.cpp sound/mididevices/music_opl_mididevice.cpp sound/mididevices/music_pseudo_mididevice.cpp diff --git a/src/sound/i_music.cpp b/src/sound/i_music.cpp index 4a9d45910..bf3ca81de 100644 --- a/src/sound/i_music.cpp +++ b/src/sound/i_music.cpp @@ -32,11 +32,7 @@ ** */ -#ifdef _WIN32 -#define WIN32_LEAN_AND_MEAN -#include -#include -#else +#ifndef _WIN32 #include #include #include @@ -44,7 +40,6 @@ #include #include #include -#include #include "mus2midi.h" extern void ChildSigHandler (int signum); #endif diff --git a/src/sound/i_sound.cpp b/src/sound/i_sound.cpp index 85a8c63b3..42e5a8d7d 100644 --- a/src/sound/i_sound.cpp +++ b/src/sound/i_sound.cpp @@ -32,15 +32,6 @@ ** */ -#ifdef _WIN32 -#define WIN32_LEAN_AND_MEAN -#include -#include -#include "resource.h" -extern HWND Window; -extern HINSTANCE g_hInst; -#endif - #include #include #include @@ -48,7 +39,6 @@ extern HINSTANCE g_hInst; #include "doomtype.h" #include -#include "except.h" #include "fmodsound.h" #include "oalsound.h" diff --git a/src/sound/musicformats/music_midistream.cpp b/src/sound/musicformats/music_midistream.cpp index 2b72e29bf..1a47f3c2b 100644 --- a/src/sound/musicformats/music_midistream.cpp +++ b/src/sound/musicformats/music_midistream.cpp @@ -35,8 +35,6 @@ // HEADER FILES ------------------------------------------------------------ -#include "i_midi_win32.h" - #include "i_musicinterns.h" #include "templates.h" #include "doomdef.h"