diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-05-15 23:42:58 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-05-15 23:42:58 +0000 |
commit | 3c67ba63fe49eb98772c621befa986b0e8ec6bbc (patch) | |
tree | e6ad5341787fa143c7cb10c7384c960aecfa1ede /libiberty/getruntime.c | |
parent | c86d77718da96c49f4ebb62ced265932245cbd3a (diff) | |
download | gcc-3c67ba63fe49eb98772c621befa986b0e8ec6bbc.tar.gz |
Update from Cygnus libiberty.
libiberty uses autoconf now.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19791 138bc75d-0d04-0410-961f-82ee72b054a4
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> |