aboutsummaryrefslogtreecommitdiff
path: root/libiberty/hashtab.c
diff options
context:
space:
mode:
authorDara Hazeghi <dhazeghi@yahoo.com>2003-06-19 19:04:03 +0000
committerDJ Delorie <dj@gcc.gnu.org>2003-06-19 15:04:03 -0400
commitcf8e4b78762b282387140a4cf54c880bbc87acd4 (patch)
treeac195bf90dec9c09ee26c024098cd64f92ec748d /libiberty/hashtab.c
parent5f6c070d3db282ca4b07569f2cf8ba9951979110 (diff)
downloadgcc-cf8e4b78762b282387140a4cf54c880bbc87acd4.zip
gcc-cf8e4b78762b282387140a4cf54c880bbc87acd4.tar.gz
gcc-cf8e4b78762b282387140a4cf54c880bbc87acd4.tar.bz2
configure.in: Add check for malloc.h needed by m68k for function free().
* 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(). From-SVN: r68213
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 3896328..cbf8259 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"