Put guards around including a couple more files when building for WINCE.

pull/134/head
John Safranek 2019-01-04 15:00:27 -08:00
parent 26daac6645
commit ea10ce7947
1 changed files with 7 additions and 2 deletions

View File

@ -424,9 +424,14 @@ extern "C" {
#endif /* NO_WOLFSSH_DIR */
#elif defined(USE_WINDOWS_API)
#ifdef _WIN32_WCE
#include <winsock2.h>
#endif
#include <windows.h>
#include <sys/types.h>
#include <sys/stat.h>
#ifndef _WIN32_WCE
#include <sys/types.h>
#include <sys/stat.h>
#endif
#include <io.h>
#include <direct.h>
#include <fcntl.h>