aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2000-07-19 17:47:08 +0000
committerH.J. Lu <hjl.tools@gmail.com>2000-07-19 17:47:08 +0000
commitf980ada0e168ea782e6b7cf57c40c9efe175a639 (patch)
treed7d1ccf3998ad52ce7828d00403c1937cecf2bed
parentcc17453a58ec28aaf09575e2554f41221ea160ca (diff)
downloadgdb-f980ada0e168ea782e6b7cf57c40c9efe175a639.zip
gdb-f980ada0e168ea782e6b7cf57c40c9efe175a639.tar.gz
gdb-f980ada0e168ea782e6b7cf57c40c9efe175a639.tar.bz2
2000-07-19 H.J. Lu <hjl@gnu.org>
* sb.c: Include <stdlib.h> if exists for abort ().
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/sb.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 391fa47..9d6f492 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2000-07-19 H.J. Lu <hjl@gnu.org>
+
+ * sb.c: Include <stdlib.h> if exists for abort ().
+
2000-07-19 Alan Modra <alan@linuxcare.com.au>
* config/tc-hppa.c (hppa_fix_adjustable): Correct LR%/RR% comment.
diff --git a/gas/sb.c b/gas/sb.c
index 6ec23fc..7894602 100644
--- a/gas/sb.c
+++ b/gas/sb.c
@@ -23,6 +23,9 @@
#include "config.h"
#include <stdio.h>
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
#ifdef HAVE_STRING_H
#include <string.h>
#else