aboutsummaryrefslogtreecommitdiffstats
path: root/src/state.c
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/state.c
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/state.c')
-rw-r--r--src/state.c1
1 files changed, 1 insertions, 0 deletions
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>