Skip to content

Commit 39396a7

Browse files
authored
Fix missing includes (#1517)
WIFEXITED requires <sys/wait.h> header. On some platforms, the transitive includes have this symbol, but not all.
1 parent ad7b71c commit 39396a7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/vcpkg-test/system.process.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
#include <vcpkg/base/system.process.h>
44

5+
#ifndef _WIN32
6+
#include <sys/wait.h>
7+
#endif
8+
59
using namespace vcpkg;
610

711
TEST_CASE ("captures-output", "[system.process]")

0 commit comments

Comments
 (0)