diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2010-06-02 21:32:12 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2010-06-02 21:32:12 +0300 |
commit | 29a7b250e685852f2f97615493ec49acaf528623 (patch) | |
tree | 2d3b39bb8a9d32b070974668c06925b36317f26a /src/xz/private.h | |
parent | Adjust SA_RESTART workaround. (diff) | |
download | xz-29a7b250e685852f2f97615493ec49acaf528623.tar.xz |
Fix a Windows-specific FIXME in signal handling code.
Diffstat (limited to 'src/xz/private.h')
-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 |