aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Chastain <mec@google.com>2004-08-05 00:20:38 +0000
committerMichael Chastain <mec@google.com>2004-08-05 00:20:38 +0000
commitc9133d23e83a376a41cf21c9fae44f09af10d783 (patch)
tree1bf6e19a745ecacd76d81f12b7c0e9f4c7805e98
parent91cd10427a41cb556ca19cbe928ebe374210c953 (diff)
downloadgdb-c9133d23e83a376a41cf21c9fae44f09af10d783.zip
gdb-c9133d23e83a376a41cf21c9fae44f09af10d783.tar.gz
gdb-c9133d23e83a376a41cf21c9fae44f09af10d783.tar.bz2
2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/auxv.c: Include <stdlib.h>.
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/auxv.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 9edee4a..eb8e9b4 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
+ * gdb.base/auxv.c: Include <stdlib.h>.
+
+2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
+
* gdb.base/auxv.c: Add copyright notice.
2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
diff --git a/gdb/testsuite/gdb.base/auxv.c b/gdb/testsuite/gdb.base/auxv.c
index 470c6d4..7eba5f9 100644
--- a/gdb/testsuite/gdb.base/auxv.c
+++ b/gdb/testsuite/gdb.base/auxv.c
@@ -1,4 +1,4 @@
-/* Copyright 1992, 1993, 1994, 1995, 1996, 1999
+/* Copyright 1992, 1993, 1994, 1995, 1996, 1999, 2004
Free Software Foundation, Inc.
This file is part of GDB.
@@ -31,6 +31,7 @@
#endif
#if HAVE_ABORT
+#include <stdlib.h>
#define ABORT abort()
#else
#define ABORT {char *invalid = 0; *invalid = 0xFF;}