From: Florian Weimer Date: Tue, 10 Jan 2023 09:21:04 +0000 (+0100) Subject: tests: Fix C99 compatibility issue in lt_dlopen_a.at X-Git-Tag: v2.5.0~77 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=477e484f19221a0c276a8d3b88cd426421cd2d7e;p=thirdparty%2Flibtool.git tests: Fix C99 compatibility issue in lt_dlopen_a.at Include for the strcmp function. This improves C99 compiler compatibility because it avoids an implicit function declaration. * tests/lt_dlopen_a.at: Include string.h. --- diff --git a/tests/lt_dlopen_a.at b/tests/lt_dlopen_a.at index 83623cff0..6997ba2b4 100644 --- a/tests/lt_dlopen_a.at +++ b/tests/lt_dlopen_a.at @@ -27,6 +27,7 @@ AT_KEYWORDS([libltdl lt_dlopen_a]) AT_DATA([main.c], [[#include #include +#include /* This dlopen() in the main executable should override any dlopen()s in shared libraries etc.