diff options
author | Chris Robinson <chris.kcat@gmail.com> | 2019-07-28 11:28:36 -0700 |
---|---|---|
committer | Chris Robinson <chris.kcat@gmail.com> | 2019-07-28 11:28:36 -0700 |
commit | 5428d6acc37e33802b0b66b2f9cdc0a37dd36429 (patch) | |
tree | e8e159f6b612e246a97e23d14f47a25f1996b35d /Alc/backends/dsound.cpp | |
parent | 659b6d4245b92a7dba3a1b1693db6de8ddf999eb (diff) |
Clean up includes a bit
Trying out the IWYU tool to only include what's necessary in a given file.
Seems to work decently (it'll miss some headers, suggest unnecessary ones, and
make nonsense suggestions for some things, but overall gives a good starting
point), and helps clean out some headers.
Diffstat (limited to 'Alc/backends/dsound.cpp')
-rw-r--r-- | Alc/backends/dsound.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Alc/backends/dsound.cpp b/Alc/backends/dsound.cpp index 93de3135..5c77df60 100644 --- a/Alc/backends/dsound.cpp +++ b/Alc/backends/dsound.cpp @@ -22,6 +22,9 @@ #include "backends/dsound.h" +#define WIN32_LEAN_AND_MEAN +#include <windows.h> + #include <stdlib.h> #include <stdio.h> #include <memory.h> @@ -34,6 +37,7 @@ #endif #include <atomic> +#include <cassert> #include <thread> #include <string> #include <vector> @@ -44,6 +48,7 @@ #include "alu.h" #include "ringbuffer.h" #include "compat.h" +#include "threads.h" /* MinGW-w64 needs this for some unknown reason now. */ using LPCWAVEFORMATEX = const WAVEFORMATEX*; |