Преглед на файлове

FileAccessWindows: Add errno include for MinGW

Apparently MSVC is happy with ENOENT without it, but MinGW seems to
require it.
Follow-up to #31499.
Rémi Verschelde преди 6 години
родител
ревизия
e797ae4704
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      drivers/windows/file_access_windows.cpp

+ 1 - 0
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>