From: Mark Wielaard Date: Sun, 16 Oct 2022 16:23:06 +0000 (+0200) Subject: tests: include config.h first. X-Git-Tag: elfutils-0.188~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2a4ce08fafcf76d866ae5f6b394389d8d93aa0cb;p=thirdparty%2Felfutils.git tests: include config.h first. Otherwise some symbols (lseek, open) might not get the 64bit offset variants because they don't pick up _FILE_OFFSET_BITS. Signed-off-by: Mark Wielaard --- diff --git a/tests/ChangeLog b/tests/ChangeLog index d07a910e1..0ea1df3d1 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,7 @@ +2022-10-16 Mark Wielaard + + * dwfl-report-offline-memory.c: Include config.h first. + 2022-10-16 Mark Wielaard * dwfl-report-offline-memory.c (main): Check lseek, read and malloc diff --git a/tests/dwfl-report-offline-memory.c b/tests/dwfl-report-offline-memory.c index 81fa136ff..e6cb0a51f 100644 --- a/tests/dwfl-report-offline-memory.c +++ b/tests/dwfl-report-offline-memory.c @@ -15,8 +15,9 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include #include + +#include #include #include #include