summaryrefslogtreecommitdiff
path: root/Ports/ninja/patches/unistd-for-stat.patch
blob: 6616b989ccf32948f098f5964c1b952e8d0a66b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/disk_interface.cc b/src/disk_interface.cc
index 28530b1..4da9a38 100644
--- a/src/disk_interface.cc
+++ b/src/disk_interface.cc
@@ -21,6 +21,7 @@
 #include <string.h>
 #include <sys/stat.h>
 #include <sys/types.h>
+#include <unistd.h>
 
 #ifdef _WIN32
 #include <sstream>