From 2fcba17fc4d7eda8fc60567169cf2a0e6fcfb2f8 Mon Sep 17 00:00:00 2001 From: Jia Tan Date: Thu, 29 Dec 2022 01:55:19 +0800 Subject: xz: Includes and conditionally in mytime.c. Previously, mytime.c depended on mythread.h for to be included. --- src/xz/mytime.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/xz/mytime.c') diff --git a/src/xz/mytime.c b/src/xz/mytime.c index a81c88af..7e8a0749 100644 --- a/src/xz/mytime.c +++ b/src/xz/mytime.c @@ -12,7 +12,9 @@ #include "private.h" -#if !(defined(HAVE_CLOCK_GETTIME) && defined(HAVE_CLOCK_MONOTONIC)) +#if defined(HAVE_CLOCK_GETTIME) && defined(HAVE_CLOCK_MONOTONIC) +# include +#else # include #endif -- cgit v1.2.3