diff options
author | Jeff Law <law@gcc.gnu.org> | 1998-05-15 17:42:58 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-05-15 17:42:58 -0600 |
commit | 3affd5f0f4b9f9e7d3ecac2881604692ae52681e (patch) | |
tree | e6ad5341787fa143c7cb10c7384c960aecfa1ede /libiberty/getruntime.c | |
parent | fe806bddb81ada7a8797cf387ff7c1427ed3d6bb (diff) | |
download | gcc-3affd5f0f4b9f9e7d3ecac2881604692ae52681e.tar.gz |
Update from Cygnus libiberty.
libiberty uses autoconf now.
From-SVN: r19791
Diffstat (limited to 'libiberty/getruntime.c')
-rw-r--r-- | libiberty/getruntime.c | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/libiberty/getruntime.c b/libiberty/getruntime.c index 1be3b4c4a2a..86162225901 100644 --- a/libiberty/getruntime.c +++ b/libiberty/getruntime.c @@ -17,6 +17,8 @@ License along with libiberty; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include "config.h" + #include "ansidecl.h" #include "libiberty.h" @@ -26,23 +28,13 @@ Boston, MA 02111-1307, USA. */ #include <time.h> -/* These should go away when libiberty uses autoconf. */ - -#if defined(__sun__) && !defined(__svr4__) -#define HAVE_GETRUSAGE -#endif - -#ifdef HAVE_SYSCONF -#define HAVE_TIMES -#endif - #ifdef HAVE_GETRUSAGE #include <sys/time.h> #include <sys/resource.h> #endif #ifdef HAVE_TIMES -#ifndef NO_SYS_PARAM_H +#ifdef HAVE_SYS_PARAM_H #include <sys/param.h> #endif #include <sys/times.h> |