aboutsummaryrefslogtreecommitdiffstats
path: root/alc/filters
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-07-29 19:59:48 -0700
committerChris Robinson <[email protected]>2019-07-29 19:59:48 -0700
commit488d1de9444d2866644a9e926089043186e6232b (patch)
tree8c804bb55ed72af6666debda9560448fdddbe841 /alc/filters
parent06e5454eb9cd0d61fca25de7079d0b036d34b037 (diff)
More include cleanup
Diffstat (limited to 'alc/filters')
-rw-r--r--alc/filters/nfc.cpp2
-rw-r--r--alc/filters/splitter.cpp4
-rw-r--r--alc/filters/splitter.h2
3 files changed, 6 insertions, 2 deletions
diff --git a/alc/filters/nfc.cpp b/alc/filters/nfc.cpp
index 1a567f2c..4e36bc66 100644
--- a/alc/filters/nfc.cpp
+++ b/alc/filters/nfc.cpp
@@ -5,7 +5,7 @@
#include <algorithm>
-#include "alcmain.h"
+#include "opthelpers.h"
/* Near-field control filters are the basis for handling the near-field effect.
diff --git a/alc/filters/splitter.cpp b/alc/filters/splitter.cpp
index 09e7bfe8..7463d795 100644
--- a/alc/filters/splitter.cpp
+++ b/alc/filters/splitter.cpp
@@ -3,11 +3,13 @@
#include "splitter.h"
+#include <algorithm>
#include <cmath>
#include <limits>
-#include <algorithm>
#include "math_defs.h"
+#include "opthelpers.h"
+
template<typename Real>
void BandSplitterR<Real>::init(Real f0norm)
diff --git a/alc/filters/splitter.h b/alc/filters/splitter.h
index 927c4d17..d7b0240d 100644
--- a/alc/filters/splitter.h
+++ b/alc/filters/splitter.h
@@ -1,6 +1,8 @@
#ifndef FILTER_SPLITTER_H
#define FILTER_SPLITTER_H
+#include <cstddef>
+
#include "alcmain.h"
#include "almalloc.h"