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/oss.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/oss.cpp')
-rw-r--r-- | Alc/backends/oss.cpp | 37 |
1 files changed, 21 insertions, 16 deletions
diff --git a/Alc/backends/oss.cpp b/Alc/backends/oss.cpp index e5b74334..33075890 100644 --- a/Alc/backends/oss.cpp +++ b/Alc/backends/oss.cpp @@ -22,32 +22,37 @@ #include "backends/oss.h" +#include <fcntl.h> +#include <poll.h> #include <sys/ioctl.h> -#include <sys/types.h> -#include <sys/time.h> #include <sys/stat.h> -#include <fcntl.h> -#include <cstdlib> -#include <cstdio> -#include <cstring> -#include <memory.h> #include <unistd.h> -#include <cerrno> -#include <poll.h> -#include <cmath> -#include <atomic> -#include <thread> -#include <vector> -#include <string> #include <algorithm> +#include <atomic> +#include <cerrno> +#include <cstdio> +#include <cstring> +#include <exception> #include <functional> +#include <memory> +#include <new> +#include <string> +#include <thread> +#include <utility> + +#include "AL/al.h" #include "alMain.h" -#include "alu.h" #include "alconfig.h" +#include "almalloc.h" +#include "alnumeric.h" +#include "aloptional.h" +#include "alu.h" +#include "logging.h" #include "ringbuffer.h" -#include "compat.h" +#include "threads.h" +#include "vector.h" #include <sys/soundcard.h> |