summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--base/platform_thread.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/base/platform_thread.cc b/base/platform_thread.cc
index 8382541..2ee7a2e 100644
--- a/base/platform_thread.cc
+++ b/base/platform_thread.cc
@@ -38,6 +38,7 @@
#include <mach/mach.h>
#elif defined(OS_LINUX)
#include <sys/types.h>
+#include <unistd.h>
#endif
// static