From 2af04078e6e8b67dafa26be0bbbc02b6b1e4f6bd Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 18 Nov 2024 16:19:01 -0500 Subject: 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. --- src/control.c | 1 + src/jalv_qt.cpp | 2 ++ src/process.c | 1 + src/query.c | 2 ++ src/state.c | 1 + 5 files changed, 7 insertions(+) (limited to 'src') 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 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 #include 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 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 #include #include 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 #include -- cgit v1.2.1