aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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