diff options
author | glx22 <glx@openttd.org> | 2021-02-13 18:38:32 +0100 |
---|---|---|
committer | Loïc Guilloux <glx22@users.noreply.github.com> | 2021-02-13 19:07:42 +0100 |
commit | 348f322df1274405d37fae3ae0aeeb7ba46fa90f (patch) | |
tree | 2c50f3adf59829bf3de4a88789806726fe30825c /src/os | |
parent | f181037bede9dd41b845a3a6e4c4ce6eaf57fe3d (diff) | |
download | openttd-348f322df1274405d37fae3ae0aeeb7ba46fa90f.tar.xz |
Fix f1f281b31: [Win32] MinGW doesn't know timeapi.h
Diffstat (limited to 'src/os')
-rw-r--r-- | src/os/windows/crashlog_win.cpp | 2 | ||||
-rw-r--r-- | src/os/windows/win32.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/os/windows/crashlog_win.cpp b/src/os/windows/crashlog_win.cpp index b5916dd26..4529491bd 100644 --- a/src/os/windows/crashlog_win.cpp +++ b/src/os/windows/crashlog_win.cpp @@ -20,8 +20,8 @@ #include "../../video/video_driver.hpp" #include <windows.h> +#include <mmsystem.h> #include <signal.h> -#include <timeapi.h> #include "../../safeguards.h" diff --git a/src/os/windows/win32.cpp b/src/os/windows/win32.cpp index 8783b3762..650413d02 100644 --- a/src/os/windows/win32.cpp +++ b/src/os/windows/win32.cpp @@ -14,11 +14,11 @@ #include "../../fileio_func.h" #include <windows.h> #include <fcntl.h> +#include <mmsystem.h> #include <regstr.h> #define NO_SHOBJIDL_SORTDIRECTION // Avoid multiple definition of SORT_ASCENDING #include <shlobj.h> /* SHGetFolderPath */ #include <shellapi.h> -#include <timeapi.h> #include "win32.h" #include "../../fios.h" #include "../../core/alloc_func.hpp" |