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/null.cpp | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'Alc/backends/null.cpp') diff --git a/Alc/backends/null.cpp b/Alc/backends/null.cpp index 121d7700..00a37fda 100644 --- a/Alc/backends/null.cpp +++ b/Alc/backends/null.cpp @@ -22,18 +22,19 @@ #include "backends/null.h" -#include <cstdlib> -#ifdef HAVE_WINDOWS_H -#include <windows.h> -#endif - +#include <exception> +#include <atomic> #include <chrono> -#include <thread> +#include <cstdint> +#include <cstring> #include <functional> +#include <thread> #include "alMain.h" +#include "almalloc.h" #include "alu.h" -#include "compat.h" +#include "logging.h" +#include "threads.h" namespace { -- cgit v1.2.3