From bca1c3ae452b3f573f01a9e5b060c3cdd1fbe076 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 26 May 2010 00:13:05 +0000 Subject: * timer.cc: Only #include if HAVE_TIMES is defined. --- gold/timer.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gold/timer.cc') diff --git a/gold/timer.cc b/gold/timer.cc index ec51bc9..29eaa55 100644 --- a/gold/timer.cc +++ b/gold/timer.cc @@ -1,6 +1,6 @@ // timer.cc -- helper class for time accounting -// Copyright 2009 Free Software Foundation, Inc. +// Copyright 2009, 2010 Free Software Foundation, Inc. // Written by Rafael Avila de Espindola . // This file is part of gold. @@ -22,7 +22,9 @@ #include "gold.h" +#ifdef HAVE_TIMES #include +#endif #include "libiberty.h" -- cgit v1.1