thread/Thread, fs: add missing WIN32 includes

This commit is contained in:
Max Kellermann
2022-11-28 21:55:02 +01:00
parent 25da798e7a
commit 124e75c286
3 changed files with 14 additions and 0 deletions

View File

@@ -22,6 +22,8 @@
#ifdef _WIN32
#include <handleapi.h> // for INVALID_HANDLE_VALUE
DirectoryReader::DirectoryReader(Path dir)
:handle(FindFirstFile(MakeWildcardPath(dir.c_str()), &data))
{