summaryrefslogtreecommitdiff
path: root/drivers/windows
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-08-21 10:52:54 +0200
committerRémi Verschelde <rverschelde@gmail.com>2019-08-21 10:52:57 +0200
commite797ae470414b8ac49b4c9614d00a4c43d446219 (patch)
treec32510829ae466d0771621f5f3ca88e3375c3604 /drivers/windows
parent51def4dab9d0e787c519aef914764a6140565d90 (diff)
FileAccessWindows: Add errno include for MinGW
Apparently MSVC is happy with ENOENT without it, but MinGW seems to require it. Follow-up to #31499.
Diffstat (limited to 'drivers/windows')
-rw-r--r--drivers/windows/file_access_windows.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/windows/file_access_windows.cpp b/drivers/windows/file_access_windows.cpp
index 7db847d6ed..fb21c0c5a1 100644
--- a/drivers/windows/file_access_windows.cpp
+++ b/drivers/windows/file_access_windows.cpp
@@ -38,6 +38,7 @@
#include <shlwapi.h>
#include <windows.h>
+#include <errno.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <tchar.h>