aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-12-16 16:52:53 +0100
committerDavid Robillard <d@drobilla.net>2020-12-16 16:52:53 +0100
commitbf4ceb41a88f9adcaa5ec77db6e37f904c43d158 (patch)
tree1026b9fd0dbcc9934a269f72dee532592406e06d /plugins
parentebd7d6fd1b8353ada9e3bfd6921b6dc834e7c46f (diff)
downloadlv2-bf4ceb41a88f9adcaa5ec77db6e37f904c43d158.tar.xz
Clean up includes
Diffstat (limited to 'plugins')
-rw-r--r--plugins/eg-fifths.lv2/uris.h3
-rw-r--r--plugins/eg-params.lv2/state_map.h1
-rw-r--r--plugins/eg-sampler.lv2/atom_sink.h5
-rw-r--r--plugins/eg-sampler.lv2/peaks.h6
-rw-r--r--plugins/eg-sampler.lv2/sampler_ui.c1
-rw-r--r--plugins/eg-sampler.lv2/uris.h5
-rw-r--r--plugins/eg-scope.lv2/uris.h1
7 files changed, 17 insertions, 5 deletions
diff --git a/plugins/eg-fifths.lv2/uris.h b/plugins/eg-fifths.lv2/uris.h
index 04b09f6..54a723d 100644
--- a/plugins/eg-fifths.lv2/uris.h
+++ b/plugins/eg-fifths.lv2/uris.h
@@ -19,10 +19,9 @@
#define FIFTHS_URIS_H
#include "lv2/atom/atom.h"
-#include "lv2/log/log.h"
#include "lv2/midi/midi.h"
#include "lv2/patch/patch.h"
-#include "lv2/state/state.h"
+#include "lv2/urid/urid.h"
#define EG_FIFTHS_URI "http://lv2plug.in/plugins/eg-fifths"
diff --git a/plugins/eg-params.lv2/state_map.h b/plugins/eg-params.lv2/state_map.h
index 9e7b63e..85358f8 100644
--- a/plugins/eg-params.lv2/state_map.h
+++ b/plugins/eg-params.lv2/state_map.h
@@ -19,6 +19,7 @@
#include "lv2/urid/urid.h"
#include <stdarg.h>
+#include <stdint.h>
#include <stdlib.h>
/** Entry in an array that serves as a dictionary of properties. */
diff --git a/plugins/eg-sampler.lv2/atom_sink.h b/plugins/eg-sampler.lv2/atom_sink.h
index b84ca55..659b767 100644
--- a/plugins/eg-sampler.lv2/atom_sink.h
+++ b/plugins/eg-sampler.lv2/atom_sink.h
@@ -14,7 +14,12 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include "lv2/atom/atom.h"
#include "lv2/atom/forge.h"
+#include "lv2/atom/util.h"
+
+#include <stdint.h>
+#include <string.h>
/**
A forge sink that writes to an atom buffer.
diff --git a/plugins/eg-sampler.lv2/peaks.h b/plugins/eg-sampler.lv2/peaks.h
index 4a51cd7..f3d2f04 100644
--- a/plugins/eg-sampler.lv2/peaks.h
+++ b/plugins/eg-sampler.lv2/peaks.h
@@ -28,10 +28,16 @@
#ifndef PEAKS_H_INCLUDED
#define PEAKS_H_INCLUDED
+#include "lv2/atom/atom.h"
#include "lv2/atom/forge.h"
+#include "lv2/atom/util.h"
+#include "lv2/urid/urid.h"
#include <math.h>
+#include <stdbool.h>
+#include <stdint.h>
#include <stdlib.h>
+#include <string.h>
#define PEAKS_URI "http://lv2plug.in/ns/peaks#"
#define PEAKS__PeakUpdate PEAKS_URI "PeakUpdate"
diff --git a/plugins/eg-sampler.lv2/sampler_ui.c b/plugins/eg-sampler.lv2/sampler_ui.c
index 2f4e435..8dddd4c 100644
--- a/plugins/eg-sampler.lv2/sampler_ui.c
+++ b/plugins/eg-sampler.lv2/sampler_ui.c
@@ -36,6 +36,7 @@
#include <gobject/gclosure.h>
#include <gtk/gtk.h>
+#include <assert.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
diff --git a/plugins/eg-sampler.lv2/uris.h b/plugins/eg-sampler.lv2/uris.h
index 57e5754..5837402 100644
--- a/plugins/eg-sampler.lv2/uris.h
+++ b/plugins/eg-sampler.lv2/uris.h
@@ -20,12 +20,13 @@
#include "lv2/atom/atom.h"
#include "lv2/atom/forge.h"
-#include "lv2/log/log.h"
+#include "lv2/atom/util.h"
#include "lv2/midi/midi.h"
#include "lv2/parameters/parameters.h"
#include "lv2/patch/patch.h"
-#include "lv2/state/state.h"
+#include "lv2/urid/urid.h"
+#include <stdint.h>
#include <stdio.h>
#define EG_SAMPLER_URI "http://lv2plug.in/plugins/eg-sampler"
diff --git a/plugins/eg-scope.lv2/uris.h b/plugins/eg-scope.lv2/uris.h
index 2ebaf4e..cba978f 100644
--- a/plugins/eg-scope.lv2/uris.h
+++ b/plugins/eg-scope.lv2/uris.h
@@ -18,7 +18,6 @@
#define SCO_URIS_H
#include "lv2/atom/atom.h"
-#include "lv2/atom/forge.h"
#include "lv2/parameters/parameters.h"
#include "lv2/urid/urid.h"