aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-11-18 16:19:01 -0500
committerDavid Robillard <d@drobilla.net>2024-11-24 19:10:19 -0500
commit2af04078e6e8b67dafa26be0bbbc02b6b1e4f6bd (patch)
treebd61713e1378e3f0e3e2f9e1cc958a73f804c159 /src
parent3f2be7b6f9c5bb21afbbb0deadda0f40f8a64e26 (diff)
downloadjalv-2af04078e6e8b67dafa26be0bbbc02b6b1e4f6bd.tar.gz
jalv-2af04078e6e8b67dafa26be0bbbc02b6b1e4f6bd.tar.bz2
jalv-2af04078e6e8b67dafa26be0bbbc02b6b1e4f6bd.zip
Clean up include paths
Removes the source directory from the include path flags passed to the compiler, so that quoted includes always refer to files relative to the one they're in, and angled includes never refer to anything in the source tree. This fixes potential clashes between the name of headers here and on the system.
Diffstat (limited to 'src')
-rw-r--r--src/control.c1
-rw-r--r--src/jalv_qt.cpp2
-rw-r--r--src/process.c1
-rw-r--r--src/query.c2
-rw-r--r--src/state.c1
5 files changed, 7 insertions, 0 deletions
diff --git a/src/control.c b/src/control.c
index ed4affa..c384165 100644
--- a/src/control.c
+++ b/src/control.c
@@ -4,6 +4,7 @@
#include "control.h"
#include "log.h"
+#include "nodes.h"
#include "string_utils.h"
#include <lilv/lilv.h>
diff --git a/src/jalv_qt.cpp b/src/jalv_qt.cpp
index 8b62f72..a84c089 100644
--- a/src/jalv_qt.cpp
+++ b/src/jalv_qt.cpp
@@ -8,6 +8,8 @@
#include "options.h"
#include "port.h"
#include "query.h"
+#include "state.h"
+#include "types.h"
#include <lilv/lilv.h>
#include <suil/suil.h>
diff --git a/src/process.c b/src/process.c
index de6685d..3598589 100644
--- a/src/process.c
+++ b/src/process.c
@@ -8,6 +8,7 @@
#include "log.h"
#include "lv2_evbuf.h"
#include "port.h"
+#include "types.h"
#include "worker.h"
#include <lilv/lilv.h>
diff --git a/src/query.c b/src/query.c
index c0c19d2..bef2fb5 100644
--- a/src/query.c
+++ b/src/query.c
@@ -3,6 +3,8 @@
#include "query.h"
+#include "nodes.h"
+
#include <lilv/lilv.h>
#include <lv2/core/lv2.h>
#include <lv2/ui/ui.h>
diff --git a/src/state.c b/src/state.c
index d894f9c..327cb1d 100644
--- a/src/state.c
+++ b/src/state.c
@@ -9,6 +9,7 @@
#include "mapper.h"
#include "port.h"
#include "string_utils.h"
+#include "types.h"
#include <lilv/lilv.h>
#include <lv2/core/lv2.h>