components/binutils/patches/timer.cc.patch
author Norm Jacobs <Norm.Jacobs@Oracle.COM>
Tue, 18 Oct 2016 13:46:28 -0500
changeset 7126 c0715e78cafb
parent 5057 ab1b43bf588f
permissions -rw-r--r--
24912627 gcc5 uses wrong triple on sparc

# 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"