From cb06c293cba8f8cc7710a79e91b7e0da35a0fdb8 Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Thu, 7 Mar 2024 21:53:07 +0100 Subject: [PATCH] test: Include unistd.h for getpid --- unittest/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/unittest/main.cpp b/unittest/main.cpp index 2407eb06..37d3ec84 100644 --- a/unittest/main.cpp +++ b/unittest/main.cpp @@ -25,6 +25,10 @@ #define DOCTEST_CONFIG_IMPLEMENT #include +#ifdef HAVE_UNISTD_H +# include +#endif + namespace fs = util::filesystem; int -- 2.47.2