summaryrefslogtreecommitdiffstats
path: root/src/ninja.cc
diff options
context:
space:
mode:
authorBen Boeckel <mathstuf@gmail.com>2012-03-28 23:18:09 (GMT)
committerBen Boeckel <mathstuf@gmail.com>2012-03-28 23:18:09 (GMT)
commit228e48b20c4c2594ed889b4593902ac6c9b3e5fc (patch)
tree685e1059c98aeec93d01d468cb1d11817bae12fa /src/ninja.cc
parentabd33d5e3b11ae5470f62cbce49723a4cf62870d (diff)
downloadNinja-228e48b20c4c2594ed889b4593902ac6c9b3e5fc.zip
Ninja-228e48b20c4c2594ed889b4593902ac6c9b3e5fc.tar.gz
Ninja-228e48b20c4c2594ed889b4593902ac6c9b3e5fc.tar.bz2
Include unistd.h where needed
Diffstat (limited to 'src/ninja.cc')
-rw-r--r--src/ninja.cc1
1 files changed, 1 insertions, 0 deletions
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"