From 8ec417b97b9a85201722ea7c7e69b5443161c08d Mon Sep 17 00:00:00 2001 From: John Safranek Date: Tue, 8 Jan 2019 11:40:01 -0800 Subject: [PATCH] 1. Move some more includes in port.h to a block for WINCE where they aren't included. 2. Added "SINGLE_THREADED" to the vs user_settings.h. --- ide/winvs/user_settings.h | 1 + wolfssh/port.h | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ide/winvs/user_settings.h b/ide/winvs/user_settings.h index 56d5d3fa..d90d2e8a 100644 --- a/ide/winvs/user_settings.h +++ b/ide/winvs/user_settings.h @@ -24,5 +24,6 @@ #define TFM_TIMING_RESISTANT #define ECC_TIMING_RESISTANT #define WOLFSSL_PUBLIC_MP +#define SINGLE_THREADED #endif /* _WIN_USER_SETTINGS_H_ */ diff --git a/wolfssh/port.h b/wolfssh/port.h index 70954933..bf1231c3 100644 --- a/wolfssh/port.h +++ b/wolfssh/port.h @@ -431,10 +431,10 @@ extern "C" { #ifndef _WIN32_WCE #include #include + #include + #include + #include #endif - #include - #include - #include #define WSTAT_T struct _stat #define WRMDIR(d) _rmdir((d))