From 5428d6acc37e33802b0b66b2f9cdc0a37dd36429 Mon Sep 17 00:00:00 2001 From: Chris Robinson 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. --- OpenAL32/alError.cpp | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'OpenAL32/alError.cpp') diff --git a/OpenAL32/alError.cpp b/OpenAL32/alError.cpp index a7895fb9..092784c9 100644 --- a/OpenAL32/alError.cpp +++ b/OpenAL32/alError.cpp @@ -20,19 +20,32 @@ #include "config.h" +#include "alError.h" + +#include #include #include #include +#include +#include #ifdef HAVE_WINDOWS_H #define WIN32_LEAN_AND_MEAN #include #endif +#include "AL/al.h" +#include "AL/alc.h" + #include "alMain.h" #include "alcontext.h" -#include "alError.h" #include "alexcpt.h" +#include "almalloc.h" +#include "inprogext.h" +#include "logging.h" +#include "opthelpers.h" +#include "vector.h" + bool TrapALError{false}; -- cgit v1.2.3