aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Alexander <marka@cygnus>1997-02-18 21:36:36 +0000
committerMark Alexander <marka@cygnus>1997-02-18 21:36:36 +0000
commit6e5d087d12856a47a35629baffa6b7e3f48fb35a (patch)
tree793d02ca8b1862fa574e84cd8628abb58ef7e0c1
parent1387cba1646f1b1431fd2e0bdd62c0a9f5a3ef77 (diff)
downloadgdb-6e5d087d12856a47a35629baffa6b7e3f48fb35a.zip
gdb-6e5d087d12856a47a35629baffa6b7e3f48fb35a.tar.gz
gdb-6e5d087d12856a47a35629baffa6b7e3f48fb35a.tar.bz2
* maint.c: Eliminate -Wall warnings by including some header files.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/maint.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 440c61a..009a540 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+Tue Feb 18 13:36:34 1997 Mark Alexander <marka@cygnus.com>
+
+ * maint.c: Eliminate -Wall warnings by including some header files.
+
Tue Feb 18 13:06:30 1997 Mark Alexander <marka@cygnus.com>
* remote-sim.c (init_callbacks): Undo previous change.
diff --git a/gdb/maint.c b/gdb/maint.c
index ac86dd0..28dde76 100644
--- a/gdb/maint.c
+++ b/gdb/maint.c
@@ -23,6 +23,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#if MAINTENANCE_CMDS /* Entire rest of file goes away if not including maint cmds */
+#include <ctype.h>
#include <signal.h>
#include "command.h"
#include "gdbcmd.h"
@@ -34,6 +35,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "language.h"
#include "symfile.h"
#include "objfiles.h"
+#include "value.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h>