components/binutils/patches/timer.cc.patch
author Petr Sumbera <petr.sumbera@oracle.com>
Wed, 12 Oct 2016 05:02:11 -0700
changeset 7099 58b579e0ff32
parent 5057 ab1b43bf588f
permissions -rw-r--r--
24836953 firefox/thunderbird js test failures

# We need <unistd.h>.
# This patch has been submitted to the community.
--- gold/timer.cc	2014-10-14 00:32:04.000000000 -0700
+++ gold/timer.cc	2015-08-04 11:59:42.929031188 -0700
@@ -28,6 +28,8 @@
 #include <sys/times.h>
 #endif
 
+#include <unistd.h>
+
 #include "libiberty.h"
 
 #include "timer.h"