diff options
author | Chris Robinson <[email protected]> | 2019-07-28 11:28:36 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-07-28 11:28:36 -0700 |
commit | 5428d6acc37e33802b0b66b2f9cdc0a37dd36429 (patch) | |
tree | e8e159f6b612e246a97e23d14f47a25f1996b35d /Alc/backends/wasapi.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/wasapi.cpp')
-rw-r--r-- | Alc/backends/wasapi.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Alc/backends/wasapi.cpp b/Alc/backends/wasapi.cpp index db4b5e4e..384aaba8 100644 --- a/Alc/backends/wasapi.cpp +++ b/Alc/backends/wasapi.cpp @@ -22,6 +22,9 @@ #include "backends/wasapi.h" +#define WIN32_LEAN_AND_MEAN +#include <windows.h> + #include <stdlib.h> #include <stdio.h> #include <memory.h> @@ -56,6 +59,7 @@ #include "ringbuffer.h" #include "compat.h" #include "converter.h" +#include "threads.h" /* Some headers seem to define these as macros for __uuidof, which is annoying |