When compiling with the -Werror=implicit-function-declaration build flag
which will be the default with upcoming gcc and clang compilers for the
modern-C transition, the configure check for OpenSSL fails due to a
missing include for exit(3).
---
configure.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure.in b/configure.in
index 8ff56e78..645b586d 100644
--- a/configure.in
+++ b/configure.in
@@ -878,6 +878,7 @@ if test "x$ssllib" != "x" && test "x$sslinc" != "x"; then
AC_TRY_RUN([
#define OPENSSL_THREAD_DEFINES
#include <openssl/opensslconf.h>
+ #include <stdlib.h>
int main(void) {
#if defined(THREADS)
exit(0);
--
2.43.0