diff options
Diffstat (limited to 'Source/cmGetPipes.cxx')
-rw-r--r-- | Source/cmGetPipes.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmGetPipes.cxx b/Source/cmGetPipes.cxx index 79f90fd..4eda1c5 100644 --- a/Source/cmGetPipes.cxx +++ b/Source/cmGetPipes.cxx @@ -2,10 +2,10 @@ file Copyright.txt or https://cmake.org/licensing for details. */ #include "cmGetPipes.h" -#include "cm_uv.h" - #include <fcntl.h> +#include "cm_uv.h" + #if defined(_WIN32) && !defined(__CYGWIN__) # include <io.h> @@ -29,6 +29,7 @@ int cmGetPipes(int* fds) } #else # include <cerrno> + # include <unistd.h> int cmGetPipes(int* fds) |