aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index 555f440..d5653ec 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -26,7 +26,6 @@ anyone else from sharing it farther. Help stamp out software hoarding!
extern char *savestring ();
extern char *concat ();
extern char *xmalloc (), *xrealloc ();
-extern char *alloca ();
extern int parse_escape ();
extern char *reg_names[];
@@ -78,3 +77,7 @@ struct command_line *read_command_lines ();
/* String containing the current directory (what getwd would return). */
char *current_directory;
+
+#ifdef sparc
+#include <alloca.h>
+#endif