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:	4dd2b869cd ("krb5: Fix -Wint-conversion when bootstrapping on GNU/Linux")
This commit is contained in:
Jessica Clarke
2025-10-22 21:06:02 +01:00
parent 69415879e9
commit 34e7a57673
+3
View File
@@ -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