From: Nguyễn Thái Ngọc Duy Date: Sat, 3 Nov 2018 08:48:38 +0000 (+0100) Subject: run-command.h: include thread-utils.h instead of pthread.h X-Git-Tag: v2.20.0-rc0~26^2~12 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/10bc232d0f93957c42b2167f00fc3437b30b08b3?hp=10bc232d0f93957c42b2167f00fc3437b30b08b3 run-command.h: include thread-utils.h instead of pthread.h run-command.c may use threads for its async support. But instead of including pthread.h directly, let's include thread-utils.h. run-command.c probably never needs the dummy bits in thread-utils.h when NO_PTHREADS is defined. But this makes sure we have consistent HAVE_THREADS behavior everywhere. From now on outside compat/, thread-utils.h is the only place that includes pthread.h Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano ---