Merge pull request #10280 from philljj/no_stddef_h_guard

wc_port: guard stddef header include.
This commit is contained in:
Daniel Pouzzner
2026-04-24 11:33:55 -05:00
committed by GitHub
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -3954,6 +3954,7 @@ extern void uITRON4_free(void *p) ;
#undef HAVE_LIMITS_H
#define NO_STRING_H
#define NO_LIMITS_H
#define NO_STDDEF_H
#define NO_STDLIB_H
#define NO_STDINT_H
#define NO_CTYPE_H
+3 -1
View File
@@ -1727,7 +1727,9 @@ WOLFSSL_ABI WOLFSSL_API int wolfCrypt_Cleanup(void);
#if (!defined(WOLFSSL_LEANPSK) && !defined(STRING_USER)) || \
defined(USE_WOLF_STRNSTR)
#include <stddef.h> /* for size_t */
#ifndef NO_STDDEF_H
#include <stddef.h> /* for size_t */
#endif /* NO_STDDEF_H */
WOLFSSL_TEST_VIS char* wolfSSL_strnstr(const char* s1, const char* s2, size_t n);
#endif