liblzma: Includes sys/time.h conditionally in mythread
commitf82294c8318a7a0990583d51ac5c7de682ad36ef
authorJia Tan <jiat0218@gmail.com>
Wed, 28 Dec 2022 17:15:27 +0000 (29 01:15 +0800)
committerJia Tan <jiat0218@gmail.com>
Fri, 30 Dec 2022 15:34:31 +0000 (30 23:34 +0800)
tree33c580f33a8684f6fcc6800dbdc52e2defa71497
parent74dae7d30091e906d6a92a57952dea4354473f9b
liblzma: Includes sys/time.h conditionally in mythread

Previously, <sys/time.h> was always included, even if mythread only used
clock_gettime. <time.h> is still needed even if clock_gettime is not used
though because struct timespec is needed for mythread_condtime.
src/common/mythread.h