aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv_internal.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-09-21 01:01:54 +0200
committerDavid Robillard <d@drobilla.net>2018-09-21 09:30:31 +0200
commitfec1b0f367603249c1daa710f546332e8296b270 (patch)
tree1a90763150ba9b6e06abd48f3fe2975171b31e6e /src/jalv_internal.h
parenteedf74351965f4e144a348e16cb3ad917187d71a (diff)
downloadjalv-fec1b0f367603249c1daa710f546332e8296b270.tar.gz
jalv-fec1b0f367603249c1daa710f546332e8296b270.tar.bz2
jalv-fec1b0f367603249c1daa710f546332e8296b270.zip
Make Suil dependency optional
Diffstat (limited to 'src/jalv_internal.h')
-rw-r--r--src/jalv_internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/jalv_internal.h b/src/jalv_internal.h
index 9108b47..bdf5e79 100644
--- a/src/jalv_internal.h
+++ b/src/jalv_internal.h
@@ -26,7 +26,9 @@
#include "lilv/lilv.h"
#include "serd/serd.h"
+#ifdef HAVE_SUIL
#include "suil/suil.h"
+#endif
#include "lv2/lv2plug.in/ns/ext/atom/atom.h"
#include "lv2/lv2plug.in/ns/ext/atom/forge.h"
@@ -295,8 +297,10 @@ struct Jalv {
const LilvUI* ui; ///< Plugin UI (RDF data)
const LilvNode* ui_type; ///< Plugin UI type (unwrapped)
LilvInstance* instance; ///< Plugin instance (shared library)
+#ifdef HAVE_SUIL
SuilHost* ui_host; ///< Plugin UI host support
SuilInstance* ui_instance; ///< Plugin UI instance (shared library)
+#endif
void* window; ///< Window (if applicable)
struct Port* ports; ///< Port array of size num_ports
Controls controls; ///< Available plugin controls