summaryrefslogtreecommitdiff
path: root/libdwfl/debuginfod-client.c
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2022-12-20 14:53:43 +0100
committerMark Wielaard <mark@klomp.org>2022-12-20 14:53:43 +0100
commit426db34b65d660c439b31d25308bc346d6272923 (patch)
treed24a7414034932e8bf95b1d694f006375122a40f /libdwfl/debuginfod-client.c
parent13a4d1279c5b7847049ca3045d04f2705c45ce31 (diff)
downloadelfutils-users/mark/try-non-relative-includes.tar.gz
Do not use relative include paths in library files.users/mark/try-non-relative-includes
Rely on include dirs being set up correctly. Setup libdw AM_CPPFLAGS to include libebl directory. In libdwfl note that debuginfod.h is a generated file in the builddir. Only include it in the one file debuginfod-client.c that really needs it. Signed-off-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'libdwfl/debuginfod-client.c')
-rw-r--r--libdwfl/debuginfod-client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libdwfl/debuginfod-client.c b/libdwfl/debuginfod-client.c
index d581daab..882a5eff 100644
--- a/libdwfl/debuginfod-client.c
+++ b/libdwfl/debuginfod-client.c
@@ -35,6 +35,8 @@
#ifdef ENABLE_LIBDEBUGINFOD
+#include "debuginfod.h"
+
#include <pthread.h>
#include <dlfcn.h>