diff options
author | Nicolas Williams <nico@cryptonector.com> | 2015-07-04 13:45:24 -0500 |
---|---|---|
committer | Nicolas Williams <nico@cryptonector.com> | 2015-07-04 13:45:24 -0500 |
commit | 05899f8b3ee7a78e5f9d8380a9cae81c72cf6456 (patch) | |
tree | f3afe55c4880aed633d9f29ffd0b4e56fa09a6cb | |
parent | a2a6f2d8963e0e3e27668f639763f2eedc912675 (diff) |
Fix Windows build
-rw-r--r-- | util.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 |