Reviewers: ulan, jochen,
Message:
This fixes some of our builds failing due to close() being undefined.
Description:
Add missing include to timers
Library function close() needs unistd.h header included.
BUG=
Please review this at https://codereview.chromium.org/368363003/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+1, -0 lines):
M src/base/platform/time.cc
Index: src/base/platform/time.cc
diff --git a/src/base/platform/time.cc b/src/base/platform/time.cc
index
f8ff893288008a2d55cb60585803b6514fb5f2dc..74960bebb134e0643ad6e3e7e156344bd1d08cea
100644
--- a/src/base/platform/time.cc
+++ b/src/base/platform/time.cc
@@ -7,6 +7,7 @@
#if V8_OS_POSIX
#include <fcntl.h> // for O_RDONLY
#include <sys/time.h>
+#include <unistd.h>
#endif
#if V8_OS_MACOSX
#include <mach/mach_time.h>
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.