diff options
| author | Jessica Clarke <jrtc27@FreeBSD.org> | 2025-10-22 19:50:50 +0000 |
|---|---|---|
| committer | Jessica Clarke <jrtc27@FreeBSD.org> | 2025-10-22 19:50:50 +0000 |
| commit | 4dd2b869cd078ed6f40c42d1ef429222da16a58f (patch) | |
| tree | 1896e5281bb3e0104eb1ffb83c417c495b79a469 | |
| parent | 283699338c5724253f721f4d0e488113dd49bd17 (diff) | |
krb5: Fix -Wint-conversion when bootstrapping on GNU/Linux
This shows up in GitHub Actions as a warning, and some compilers can
default to it being an error.
| -rw-r--r-- | krb5/include/autoconf.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/krb5/include/autoconf.h b/krb5/include/autoconf.h index ed0bf8cacc14..f1cf42d8f90f 100644 --- a/krb5/include/autoconf.h +++ b/krb5/include/autoconf.h @@ -691,7 +691,12 @@ #define STDC_HEADERS 1 /* Define to 1 if strerror_r returns char *. */ +#ifdef __GLIBC__ +/* Bootstrapping on GNU/Linux */ +#define STRERROR_R_CHAR_P 1 +#else /* #undef STRERROR_R_CHAR_P */ +#endif /* Define if sys_errlist is defined in errno.h */ #define SYS_ERRLIST_DECLARED 1 |
