Permalink
Browse files

build_log_test.cc: add 3 #include for stat(2) on Linux

  • Loading branch information...
1 parent cf2f625 commit 7682a3123f71fe086ecd00bd7f66a20ec0c0026d @qhuo qhuo committed Jun 10, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/build_log_test.cc
View
@@ -21,6 +21,12 @@
#include <share.h>
#endif
+#ifdef linux
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <unistd.h>
+#endif
+
static const char kTestFilename[] = "BuildLogTest-tempfile";
struct BuildLogTest : public StateTestWithBuiltinRules {

0 comments on commit 7682a31

Please sign in to comment.