aboutsummaryrefslogtreecommitdiff
path: root/src/xz/private.h
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2010-06-02 21:32:12 +0300
committerLasse Collin <lasse.collin@tukaani.org>2010-06-02 21:32:12 +0300
commit29a7b250e685852f2f97615493ec49acaf528623 (patch)
tree2d3b39bb8a9d32b070974668c06925b36317f26a /src/xz/private.h
parentAdjust SA_RESTART workaround. (diff)
downloadxz-29a7b250e685852f2f97615493ec49acaf528623.tar.xz
Fix a Windows-specific FIXME in signal handling code.
Diffstat (limited to '')
-rw-r--r--src/xz/private.h5
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