From c410d812ea12bfc74f6b727c1a799478c79f19ca Mon Sep 17 00:00:00 2001 From: Jia Tan Date: Thu, 29 Dec 2022 01:55:19 +0800 Subject: [PATCH] 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(-) 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