Date: Wed, 11 Mar 2026 17:37:00 +0000 From: Cy Schubert <cy@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Cc: Jessica Clarke <jrtc27@FreeBSD.org> Subject: git: b373cf4ff140 - stable/15 - krb5: Include <features.h> on Linux so __GLIBC__ can be checked Message-ID: <69b1a83c.198bf.3dff65ff@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/15 has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=b373cf4ff1406dca10985362aff9d9f3a3fa351d commit b373cf4ff1406dca10985362aff9d9f3a3fa351d Author: Jessica Clarke <jrtc27@FreeBSD.org> AuthorDate: 2025-10-22 20:06:02 +0000 Commit: Cy Schubert <cy@FreeBSD.org> CommitDate: 2026-03-11 17:36:36 +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") (cherry picked from commit 34e7a57673c9730ee5d1f7ebb07e152567bd8e0b) --- 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 1home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69b1a83c.198bf.3dff65ff>
