summaryrefslogtreecommitdiff
path: root/tests/asm-tst7.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-tst7.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-tst7.c')
-rw-r--r--tests/asm-tst7.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/asm-tst7.c b/tests/asm-tst7.c
index 00cb2bfe..90179769 100644
--- a/tests/asm-tst7.c
+++ b/tests/asm-tst7.c
@@ -21,6 +21,7 @@
#include <fcntl.h>
#include <inttypes.h>
+#include ELFUTILS_HEADER(ebl)
#include ELFUTILS_HEADER(asm)
#include <libelf.h>
#include <stdio.h>