summaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-07-13 12:41:21 -0400
committerDavid Robillard <d@drobilla.net>2024-07-13 12:41:47 -0400
commitbbdab98ed282291b6e29a944359c360c9cca127e (patch)
treee0e891790fae597c4979bc6b3efd8d3d6913d2a9 /src/server
parentece338095efe1d5aa2f9b3b6e85ba9b2cbfb1ab4 (diff)
downloadingen-bbdab98ed282291b6e29a944359c360c9cca127e.tar.gz
ingen-bbdab98ed282291b6e29a944359c360c9cca127e.tar.bz2
ingen-bbdab98ed282291b6e29a944359c360c9cca127e.zip
Add missing includes
According to include-what-you-use, anyway. Most of these seem questionable/unnecessary, but since the whole point here is to avoid wasting time doing manually what machines can do, just do what the tool says to keep the checks clean even if it's suboptimal.
Diffstat (limited to 'src/server')
-rw-r--r--src/server/CompiledGraph.cpp1
-rw-r--r--src/server/ControlBindings.hpp5
-rw-r--r--src/server/GraphImpl.hpp5
-rw-r--r--src/server/InputPort.hpp7
-rw-r--r--src/server/JackDriver.hpp5
-rw-r--r--src/server/LV2Block.hpp11
-rw-r--r--src/server/PortAudioDriver.hpp8
7 files changed, 7 insertions, 35 deletions
diff --git a/src/server/CompiledGraph.cpp b/src/server/CompiledGraph.cpp
index 08e558a8..a89623d0 100644
--- a/src/server/CompiledGraph.cpp
+++ b/src/server/CompiledGraph.cpp
@@ -35,6 +35,7 @@
#include <cstdint>
#include <cstdio>
#include <exception>
+#include <functional>
#include <limits>
#include <memory>
#include <utility>
diff --git a/src/server/ControlBindings.hpp b/src/server/ControlBindings.hpp
index 9a7f66a2..a4ed0f94 100644
--- a/src/server/ControlBindings.hpp
+++ b/src/server/ControlBindings.hpp
@@ -22,6 +22,7 @@
#include "lv2/atom/forge.h"
#include "raul/Maid.hpp"
+#include <boost/intrusive/options.hpp>
#include <boost/intrusive/set.hpp>
#include <boost/intrusive/set_hook.hpp>
@@ -34,10 +35,6 @@ namespace raul {
class Path;
} // namespace raul
-namespace boost::intrusive {
-template <class Compare> struct compare;
-} // namespace boost::intrusive
-
namespace ingen {
class Atom;
diff --git a/src/server/GraphImpl.hpp b/src/server/GraphImpl.hpp
index c5f978fb..7c3a56df 100644
--- a/src/server/GraphImpl.hpp
+++ b/src/server/GraphImpl.hpp
@@ -26,6 +26,7 @@
#include "lv2/urid/urid.h"
#include "raul/Maid.hpp"
+#include <boost/intrusive/options.hpp>
#include <boost/intrusive/slist.hpp>
#include <cassert>
@@ -39,10 +40,6 @@ namespace raul {
class Symbol;
} // namespace raul
-namespace boost::intrusive {
-template <bool Enabled> struct constant_time_size;
-} // namespace boost::intrusive
-
namespace ingen::server {
class ArcImpl;
diff --git a/src/server/InputPort.hpp b/src/server/InputPort.hpp
index 834a6d8a..ab4c3e54 100644
--- a/src/server/InputPort.hpp
+++ b/src/server/InputPort.hpp
@@ -25,6 +25,7 @@
#include "lv2/urid/urid.h"
#include "raul/Maid.hpp"
+#include <boost/intrusive/options.hpp>
#include <boost/intrusive/slist.hpp>
#include <cstdint>
@@ -34,12 +35,6 @@ namespace raul {
class Symbol;
} // namespace raul
-namespace boost::intrusive {
-
-template <bool Enabled> struct constant_time_size;
-
-} // namespace boost::intrusive
-
namespace ingen {
class Atom;
diff --git a/src/server/JackDriver.hpp b/src/server/JackDriver.hpp
index 8bb7cff3..3f0e28dc 100644
--- a/src/server/JackDriver.hpp
+++ b/src/server/JackDriver.hpp
@@ -26,6 +26,7 @@
#include "lv2/atom/forge.h"
#include "raul/Semaphore.hpp"
+#include <boost/intrusive/options.hpp>
#include <boost/intrusive/slist.hpp>
#include <jack/jack.h>
#include <jack/thread.h>
@@ -42,10 +43,6 @@ namespace raul {
class Path;
} // namespace raul
-namespace boost::intrusive {
-template <bool Enabled> struct cache_last;
-} // namespace boost::intrusive
-
namespace ingen {
class Atom;
diff --git a/src/server/LV2Block.hpp b/src/server/LV2Block.hpp
index fd446106..bbcc1039 100644
--- a/src/server/LV2Block.hpp
+++ b/src/server/LV2Block.hpp
@@ -31,6 +31,7 @@
#include "raul/Maid.hpp"
#include "raul/Noncopyable.hpp"
+#include <boost/intrusive/options.hpp>
#include <boost/intrusive/slist.hpp>
#include <boost/intrusive/slist_hook.hpp>
@@ -46,16 +47,6 @@ namespace raul {
class Symbol;
} // namespace raul
-namespace boost::intrusive {
-
-template <bool Enabled>
-struct cache_last;
-
-template <bool Enabled>
-struct constant_time_size;
-
-} // namespace boost::intrusive
-
namespace ingen {
class Resource;
diff --git a/src/server/PortAudioDriver.hpp b/src/server/PortAudioDriver.hpp
index 9f17a100..c0a28ba9 100644
--- a/src/server/PortAudioDriver.hpp
+++ b/src/server/PortAudioDriver.hpp
@@ -24,6 +24,7 @@
#include "ingen/URI.hpp"
#include "raul/Semaphore.hpp"
+#include <boost/intrusive/options.hpp>
#include <boost/intrusive/slist.hpp>
#include <portaudio.h>
@@ -36,13 +37,6 @@ namespace raul {
class Path;
} // namespace raul
-namespace boost::intrusive {
-
-template <bool Enabled>
-struct cache_last;
-
-} // namespace boost::intrusive
-
namespace ingen {
class Atom;