We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c098e53 commit 6aa3cd6Copy full SHA for 6aa3cd6
2 files changed
wolfssl/wolfcrypt/settings.h
@@ -3954,6 +3954,7 @@ extern void uITRON4_free(void *p) ;
3954
#undef HAVE_LIMITS_H
3955
#define NO_STRING_H
3956
#define NO_LIMITS_H
3957
+ #define NO_STDDEF_H
3958
#define NO_STDLIB_H
3959
#define NO_STDINT_H
3960
#define NO_CTYPE_H
wolfssl/wolfcrypt/wc_port.h
@@ -1727,7 +1727,9 @@ WOLFSSL_ABI WOLFSSL_API int wolfCrypt_Cleanup(void);
1727
1728
#if (!defined(WOLFSSL_LEANPSK) && !defined(STRING_USER)) || \
1729
defined(USE_WOLF_STRNSTR)
1730
- #include <stddef.h> /* for size_t */
+ #ifndef NO_STDDEF_H
1731
+ #include <stddef.h> /* for size_t */
1732
+ #endif /* NO_STDDEF_H */
1733
WOLFSSL_TEST_VIS char* wolfSSL_strnstr(const char* s1, const char* s2, size_t n);
1734
#endif
1735
0 commit comments