summaryrefslogtreecommitdiff
path: root/libiberty/sort.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2000-07-23 19:20:18 +0000
committerJeff Law <law@redhat.com>2000-07-23 19:20:18 +0000
commit8e9f87b700a8bd144afd92d2193cc8180d780504 (patch)
tree174af06f7c7ff13881d87ee71a931acca3466fed /libiberty/sort.c
parent2fa8dafa17c86759408817477167cdc2d377f556 (diff)
downloadbinutils-redhat-8e9f87b700a8bd144afd92d2193cc8180d780504.tar.gz
* configure.in (AC_CHECK_HEADERS): Add time.h.
(AC_HEADER_TIME): Add check. * configure, config.in: Regenerate. * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
Diffstat (limited to 'libiberty/sort.c')
-rw-r--r--libiberty/sort.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libiberty/sort.c b/libiberty/sort.c
index da2d660b6f..90c97e04e0 100644
--- a/libiberty/sort.c
+++ b/libiberty/sort.c
@@ -24,7 +24,12 @@ Boston, MA 02111-1307, USA. */
#endif
#include "libiberty.h"
#include "sort.h"
+#ifdef HAVE_LIMITS_H
#include <limits.h>
+#endif
+#ifdef HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif