diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/build.cc | 1 | ||||
-rw-r--r-- | src/build_log.cc | 1 | ||||
-rw-r--r-- | src/ninja.cc | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/build.cc b/src/build.cc index 44c1df6..a2e4f64 100644 --- a/src/build.cc +++ b/src/build.cc @@ -20,6 +20,7 @@ #ifdef _WIN32 #include <windows.h> #else +#include <unistd.h> #include <sys/ioctl.h> #include <sys/time.h> #include <sys/termios.h> diff --git a/src/build_log.cc b/src/build_log.cc index fd93ea8..0cecd70 100644 --- a/src/build_log.cc +++ b/src/build_log.cc @@ -17,6 +17,7 @@ #include <errno.h> #include <stdlib.h> #include <string.h> +#include <unistd.h> #include "build.h" #include "graph.h" diff --git a/src/ninja.cc b/src/ninja.cc index 04cd771..7d020db 100644 --- a/src/ninja.cc +++ b/src/ninja.cc @@ -31,6 +31,7 @@ #include <windows.h> #else #include <getopt.h> +#include <unistd.h> #endif #include "browse.h" |