aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index b188828..dfd63af 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -41,7 +41,9 @@ extern char *strsignal PARAMS ((int));
#include "progress.h"
+#ifndef NO_MMALLOC
#include "mmalloc.h"
+#endif
/* For BFD64 and bfd_vma. */
#include "bfd.h"
@@ -640,17 +642,29 @@ extern void free ();
#endif /* MALLOC_INCOMPATIBLE */
#ifndef WIN32
+
+#ifndef strchr
extern char *strchr ();
+#endif
+#ifndef strrchr
extern char *strrchr ();
+#endif
+#ifndef strstr
extern char *strstr ();
+#endif
+#ifndef strtok
extern char *strtok ();
+#endif
+#ifndef strerror
extern char *strerror ();
#endif
+#endif /* !WIN32 */
+
/* Various possibilities for alloca. */
#ifndef alloca
# ifdef __GNUC__