Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Commit 7682a31

Browse files
committed
build_log_test.cc: add 3 #include for stat(2) on Linux
1 parent cf2f625 commit 7682a31

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/build_log_test.cc

+6
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@
2121
#include <share.h>
2222
#endif
2323

24+
#ifdef linux
25+
#include <sys/types.h>
26+
#include <sys/stat.h>
27+
#include <unistd.h>
28+
#endif
29+
2430
static const char kTestFilename[] = "BuildLogTest-tempfile";
2531

2632
struct BuildLogTest : public StateTestWithBuiltinRules {

0 commit comments

Comments
 (0)