Fix missing includes (#1517)
WIFEXITED requires <sys/wait.h> header. On some platforms, the transitive includes have this symbol, but not all.
This commit is contained in:
Родитель
ad7b71c9fc
Коммит
39396a70ba
|
@ -2,6 +2,10 @@
|
|||
|
||||
#include <vcpkg/base/system.process.h>
|
||||
|
||||
#ifndef _WIN32
|
||||
#include <sys/wait.h>
|
||||
#endif
|
||||
|
||||
using namespace vcpkg;
|
||||
|
||||
TEST_CASE ("captures-output", "[system.process]")
|
||||
|
|
Загрузка…
Ссылка в новой задаче