libasm: Make libasm.h include work without relying on any other include.
authorMark Wielaard <mark@klomp.org>
Sat, 4 Jul 2020 22:13:35 +0000 (00:13 +0200)
committerMark Wielaard <mark@klomp.org>
Fri, 17 Jul 2020 23:50:01 +0000 (01:50 +0200)
commitf9915d3f1947e6bcf9102329500626bd8e74bdd3
tree795040c5e5bb4a25d4fc3e5a78a2714247baa708
parent8de6f9af46f12fe3b2a0871523f6df13c4b39e34
libasm: Make libasm.h include work without relying on any other include.

The public headers should be usable when includes as is.
libasm.h wasn't because it was using gelf.h data structures without
include gelf.h. Include it now in libasm.h.

Add a new testcase run-test-includes.sh to test all public headers
can be included "standalone".

https://sourceware.org/bugzilla/show_bug.cgi?id=26176

Signed-off-by: Mark Wielaard <mark@klomp.org>
libasm/ChangeLog
libasm/libasm.h
tests/ChangeLog
tests/Makefile.am
tests/run-test-includes.sh [new file with mode: 0755]