summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/util.h b/util.h
index ceccb087..5a94c39f 100644
--- a/util.h
+++ b/util.h
@@ -1,6 +1,16 @@
#ifndef UTIL_H
#define UTIL_H
+#ifdef WIN32
+/* For WriteFile() below */
+#include <windows.h>
+#include <io.h>
+#include <processenv.h>
+#include <shellapi.h>
+#include <wchar.h>
+#include <wtypes.h>
+#endif
+
#include "jv.h"
#ifndef HAVE_MKSTEMP