summaryrefslogtreecommitdiff
path: root/libiberty/hashtab.c
diff options
context:
space:
mode:
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-19 19:04:03 +0000
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-19 19:04:03 +0000
commitc08775b23aa09d7451f2f87533c3ccdb5096d762 (patch)
treeac195bf90dec9c09ee26c024098cd64f92ec748d /libiberty/hashtab.c
parentc2f2aba85039d6291a3b4863e0dd9879aebd7397 (diff)
downloadgcc-c08775b23aa09d7451f2f87533c3ccdb5096d762.tar.gz
* configure.in: Add check for malloc.h needed by
m68k for function free(). * configure: Regenerated. * config.in: Add HAVE_MALLOC_H. * hashtab.c: include malloc.h were available for free(). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68213 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/hashtab.c')
-rw-r--r--libiberty/hashtab.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libiberty/hashtab.c b/libiberty/hashtab.c
index 3896328717a..cbf82592be1 100644
--- a/libiberty/hashtab.c
+++ b/libiberty/hashtab.c
@@ -45,6 +45,10 @@ Boston, MA 02111-1307, USA. */
#include <string.h>
#endif
+#ifdef HAVE_MALLOC_H
+#include <malloc.h>
+#endif
+
#include <stdio.h>
#include "libiberty.h"