From 419a458ad9d4383eb47d51fe8e4408a0e240c2f1 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Fri, 5 Apr 2024 16:04:46 +0200 Subject: Consistently guard all POSIX C includes --- src/buildtool/system/system_command.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/buildtool/system/system_command.hpp') 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 // std::move #include +#ifdef __unix__ #include #include +#else +#error "Non-unix is not supported yet" +#endif #include "gsl/gsl" #include "src/buildtool/file_system/file_system_manager.hpp" -- cgit v1.2.3