diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-04-05 16:04:46 +0200 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-04-08 15:19:50 +0200 |
commit | 419a458ad9d4383eb47d51fe8e4408a0e240c2f1 (patch) | |
tree | c7c6546d287a7a2f9386141c3f07fffc5d848ed4 /src/buildtool/system/system_command.hpp | |
parent | e047c360dcc5cbdc01ee19a1b755bb70d883e41c (diff) | |
download | justbuild-419a458ad9d4383eb47d51fe8e4408a0e240c2f1.tar.gz |
Consistently guard all POSIX C includes
Diffstat (limited to 'src/buildtool/system/system_command.hpp')
-rw-r--r-- | src/buildtool/system/system_command.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/buildtool/system/system_command.hpp b/src/buildtool/system/system_command.hpp index 7f16fc99..24931dc7 100644 --- a/src/buildtool/system/system_command.hpp +++ b/src/buildtool/system/system_command.hpp @@ -27,8 +27,12 @@ #include <utility> // std::move #include <vector> +#ifdef __unix__ #include <sys/wait.h> #include <unistd.h> +#else +#error "Non-unix is not supported yet" +#endif #include "gsl/gsl" #include "src/buildtool/file_system/file_system_manager.hpp" |