From cfd1054b9b539ee92524901e95d7bb5a1fe670a0 Mon Sep 17 00:00:00 2001 From: Kelvin Lee Date: Tue, 5 Sep 2023 14:37:50 +0300 Subject: MSVC: Don't #include . --- src/xz/private.h | 5 ++++- src/xzdec/xzdec.c | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/xz/private.h b/src/xz/private.h index 8a2db9ff..57606cd6 100644 --- a/src/xz/private.h +++ b/src/xz/private.h @@ -21,7 +21,10 @@ #include #include #include -#include + +#ifndef _MSC_VER +# include +#endif #include "tuklib_gettext.h" #include "tuklib_progname.h" diff --git a/src/xzdec/xzdec.c b/src/xzdec/xzdec.c index c1bd1998..95a412f4 100644 --- a/src/xzdec/xzdec.c +++ b/src/xzdec/xzdec.c @@ -16,7 +16,10 @@ #include #include #include -#include + +#ifndef _MSC_VER +# include +#endif #include "getopt.h" #include "tuklib_progname.h" -- cgit v1.2.3