wc_port: guard stddef header include.

This commit is contained in:
jordan
2026-04-22 15:16:19 -05:00
parent c098e53948
commit 6aa3cd653e
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