summaryrefslogtreecommitdiff
path: root/tests/asm-tst3.c
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2020-01-08 15:04:50 +0100
committerMark Wielaard <mark@klomp.org>2020-01-12 17:14:52 +0100
commit287a18452ad036fe687c88f26e9f59769dc283f5 (patch)
tree41bfe327399389cb1463eeb3742430bcfd4c0108 /tests/asm-tst3.c
parent1d26e8e1076b98e8131b96b718d80e0dcbbc3d86 (diff)
downloadelfutils-287a18452ad036fe687c88f26e9f59769dc283f5.tar.gz
libasm.h: Don't include libebl.h. Define an opaque Ebl handle.
Using libasm isn't really usable without a way to create an Ebl handle. But we don't support libebl.h (and libebl itself). Just define the Ebl handle as an opaque struct. Code that uses it needs to figure out how to instantiate one itself (they cannot in any supportable way...) Signed-off-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'tests/asm-tst3.c')
-rw-r--r--tests/asm-tst3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/asm-tst3.c b/tests/asm-tst3.c
index e52cfbe1..39c1d90c 100644
--- a/tests/asm-tst3.c
+++ b/tests/asm-tst3.c
@@ -20,6 +20,7 @@
#endif
#include <fcntl.h>
+#include ELFUTILS_HEADER(ebl)
#include ELFUTILS_HEADER(asm)
#include <libelf.h>
#include <stdio.h>