Fix unit test build on Windows

Like Tom de Vries' earlier patch to fix the no-CXX_STD_THREAD case in
maint.c, this patch fixes a similar problem in
parallel-for-selftests.c.  This fixes a build failure on Windows.
This commit is contained in:
Tom Tromey 2021-09-08 09:17:39 -06:00
parent 733ae98cb8
commit 828a9ed9ca

View file

@ -20,10 +20,11 @@
#include "defs.h"
#include "gdbsupport/selftest.h"
#include "gdbsupport/parallel-for.h"
#include "gdbsupport/thread-pool.h"
#if CXX_STD_THREAD
#include "gdbsupport/thread-pool.h"
namespace selftests {
namespace parallel_for {