$NetBSD: patch-configure,v 1.2 2024/08/23 17:48:50 adam Exp $ Fixes: conftest.c:124:33: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' From fedora. --- configure.orig 2024-07-29 08:43:16.000000000 +0000 +++ configure @@ -19572,6 +19572,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu $as_echo_n "checking if ctime_r need special care to act posixly correct... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ +#include #include int main () @@ -19585,6 +19586,7 @@ if ac_fn_c_try_link "$LINENO"; then : CPPFLAGS="$CPPFLAGS -D_POSIX_PTHREAD_SEMANTICS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ +#include #include int main ()