mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
* timer.cc: Only #include <sys/times.h> if HAVE_TIMES is defined.
This commit is contained in:
@@ -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 <espindola@google.com>.
|
||||
|
||||
// This file is part of gold.
|
||||
@@ -22,7 +22,9 @@
|
||||
|
||||
#include "gold.h"
|
||||
|
||||
#ifdef HAVE_TIMES
|
||||
#include <sys/times.h>
|
||||
#endif
|
||||
|
||||
#include "libiberty.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user