diff options
Diffstat (limited to '')
-rw-r--r-- | src/xz/private.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xz/private.h b/src/xz/private.h index b5434357..15136bfe 100644 --- a/src/xz/private.h +++ b/src/xz/private.h @@ -26,6 +26,11 @@ #include "tuklib_progname.h" #include "tuklib_exit.h" +#if defined(_WIN32) && !defined(__CYGWIN__) +# define WIN32_LEAN_AND_MEAN +# include <windows.h> +#endif + #ifndef STDIN_FILENO # define STDIN_FILENO (fileno(stdin)) #endif |