summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--windows/msvc/sources.props1
-rw-r--r--windows/windows_mphal.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/windows/msvc/sources.props b/windows/msvc/sources.props
index 569f24c76b..4ea917552a 100644
--- a/windows/msvc/sources.props
+++ b/windows/msvc/sources.props
@@ -23,6 +23,7 @@
<ClCompile Include="$(PyBaseDir)extmod\modurandom.c" />
<ClCompile Include="$(PyBaseDir)extmod\modure.c" />
<ClCompile Include="$(PyBaseDir)extmod\moduzlib.c" />
+ <ClCompile Include="$(PyBaseDir)extmod\utime_mphal.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="$(PyBaseDir)py\*.h" />
diff --git a/windows/windows_mphal.c b/windows/windows_mphal.c
index 0f00597af0..1b2ed314ab 100644
--- a/windows/windows_mphal.c
+++ b/windows/windows_mphal.c
@@ -28,9 +28,9 @@
#include "py/mpstate.h"
#include "py/mphal.h"
+#include <sys/time.h>
#include <windows.h>
#include <unistd.h>
-#include <sys/time.h>
HANDLE std_in = NULL;
HANDLE con_out = NULL;