@@ -768,7 +768,7 @@ typedef struct w64wrapper {
768768 #ifndef USE_WINDOWS_API
769769 #if defined(WOLFSSL_ESPIDF) && \
770770 (!defined (NO_ASN_TIME) && defined (HAVE_PKCS7))
771- #include < stdarg.h>
771+ #include < stdarg.h>
772772 /* later gcc than 7.1 introduces -Wformat-truncation */
773773 /* In cases when truncation is expected the caller needs*/
774774 /* to check the return value from the function so that */
@@ -819,17 +819,18 @@ typedef struct w64wrapper {
819819 #if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__)
820820 #if defined(_MSC_VER) && (_MSC_VER >= 1900)
821821 /* Beginning with the UCRT in Visual Studio 2015 and
822- Windows 10, snprintf is no longer identical to
823- _snprintf. The snprintf function behavior is now
824- C99 standard compliant. */
822+ * Windows 10, snprintf is no longer identical to
823+ * _snprintf. The snprintf function behavior is now
824+ * C99 standard compliant. */
825825 #include < stdio.h>
826826 #define XSNPRINTF snprintf
827827 #else
828828 /* 4996 warning to use MS extensions e.g., _sprintf_s
829- instead of _snprintf */
829+ * instead of _snprintf */
830830 #if !defined(__MINGW32__)
831831 #pragma warning(disable: 4996)
832832 #endif
833+ #include < stdarg.h>
833834 static WC_INLINE
834835 int xsnprintf (char *buffer, size_t bufsize,
835836 const char *format, ...) {
0 commit comments