Bug report: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294287 Upstream: https://github.com/wolfSSL/wolfssl/pull/10097 --- cmake/options.h.in.orig 2026-03-18 23:01:31 UTC +++ cmake/options.h.in @@ -33,6 +33,9 @@ extern "C" { #endif #ifndef WOLFSSL_OPTIONS_IGNORE_SYS +/* Since types.h depends on HAVE_LIMITS_H, we must define it in options.h. */ +#undef HAVE_LIMITS_H +#cmakedefine HAVE_LIMITS_H @HAVE_LIMITS_H@ #undef _GNU_SOURCE #cmakedefine _GNU_SOURCE #undef _POSIX_THREADS