From 39396a70ba142f2e7cc5a61a65c87f4aac0a78b1 Mon Sep 17 00:00:00 2001 From: Siyuan Ren Date: Tue, 22 Oct 2024 07:01:51 +0800 Subject: [PATCH] Fix missing includes (#1517) WIFEXITED requires header. On some platforms, the transitive includes have this symbol, but not all. --- src/vcpkg-test/system.process.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/vcpkg-test/system.process.cpp b/src/vcpkg-test/system.process.cpp index 58e9f6db6..f4489a43c 100644 --- a/src/vcpkg-test/system.process.cpp +++ b/src/vcpkg-test/system.process.cpp @@ -2,6 +2,10 @@ #include +#ifndef _WIN32 +#include +#endif + using namespace vcpkg; TEST_CASE ("captures-output", "[system.process]")