From 5428d6acc37e33802b0b66b2f9cdc0a37dd36429 Mon Sep 17 00:00:00 2001 From: Chris Robinson <chris.kcat@gmail.com> Date: Sun, 28 Jul 2019 11:28:36 -0700 Subject: 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. --- Alc/backends/wave.cpp | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'Alc/backends/wave.cpp') diff --git a/Alc/backends/wave.cpp b/Alc/backends/wave.cpp index d06f36d7..77692686 100644 --- a/Alc/backends/wave.cpp +++ b/Alc/backends/wave.cpp @@ -22,20 +22,28 @@ #include "backends/wave.h" -#include <cstdlib> -#include <cstdio> -#include <memory.h> +#include <algorithm> +#include <atomic> #include <cerrno> - #include <chrono> -#include <thread> -#include <vector> +#include <cstdint> +#include <cstdio> +#include <cstring> +#include <exception> #include <functional> +#include <thread> + +#include "AL/al.h" #include "alMain.h" -#include "alu.h" #include "alconfig.h" +#include "almalloc.h" +#include "alnumeric.h" +#include "alu.h" #include "compat.h" +#include "logging.h" +#include "threads.h" +#include "vector.h" namespace { -- cgit v1.2.3