diff options
author | Fred Fish <fnf@specifix.com> | 1995-09-11 23:41:45 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1995-09-11 23:41:45 +0000 |
commit | 031c4a7eed4d66297620a9b2d7b695d9e041de50 (patch) | |
tree | 66055950722d9379943f1544ce3ae0b198b7bfab /gdb/defs.h | |
parent | 812e4a9bc2f0eb98a5de04a3c269bcd66896b95a (diff) | |
download | gdb-031c4a7eed4d66297620a9b2d7b695d9e041de50.zip gdb-031c4a7eed4d66297620a9b2d7b695d9e041de50.tar.gz gdb-031c4a7eed4d66297620a9b2d7b695d9e041de50.tar.bz2 |
* defs.h: Only include mmalloc.h if NO_MMALLOC is not
defined.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r-- | gdb/defs.h | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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__ |