summaryrefslogtreecommitdiff
path: root/src/fs/io/FileOutputStream.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/io/FileOutputStream.hxx')
-rw-r--r--src/fs/io/FileOutputStream.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fs/io/FileOutputStream.hxx b/src/fs/io/FileOutputStream.hxx
index d377f08ea..10c614831 100644
--- a/src/fs/io/FileOutputStream.hxx
+++ b/src/fs/io/FileOutputStream.hxx
@@ -42,7 +42,10 @@
#include <cstdint>
#ifdef _WIN32
-#include <windows.h>
+#include <fileapi.h>
+#include <windef.h> // for HWND (needed by winbase.h)
+#include <handleapi.h> // for INVALID_HANDLE_VALUE
+#include <winbase.h> // for FILE_END
#endif
#if defined(__linux__) && !defined(ANDROID)