| raw e-mail | index | archive | help
The branch main has been updated by jrtc27: URL: https://cgit.FreeBSD.org/src/commit/?id=34e7a57673c9730ee5d1f7ebb07e152567bd8e0b commit 34e7a57673c9730ee5d1f7ebb07e152567bd8e0b Author: Jessica Clarke <jrtc27@FreeBSD.org> AuthorDate: 2025-10-22 20:06:02 +0000 Commit: Jessica Clarke <jrtc27@FreeBSD.org> CommitDate: 2025-10-22 20:06:02 +0000 krb5: Include <features.h> on Linux so __GLIBC__ can be checked __GLIBC__ is not pre-defined by the toolchain, it comes from features.h, so we need to make sure that's included by this point. Fixes: 4dd2b869cd07 ("krb5: Fix -Wint-conversion when bootstrapping on GNU/Linux") --- krb5/include/autoconf.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/krb5/include/autoconf.h b/krb5/include/autoconf.h index f1cf42d8f90f..760aca79176b 100644 --- a/krb5/include/autoconf.h +++ b/krb5/include/autoconf.h @@ -691,6 +691,9 @@ #define STDC_HEADERS 1 /* Define to 1 if strerror_r returns char *. */ +#ifdef __linux__ +#include <features.h> +#endif #ifdef __GLIBC__ /* Bootstrapping on GNU/Linux */ #define STRERROR_R_CHAR_P 1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?>