-/* System includes and definitions used by the Motorolla MCore simulator.
- Copyright (C) 1999 Free Software Foundation, Inc.
+/* System includes and definitions used by the Motorola MCore simulator.
+ Copyright (C) 1999, 2007 Free Software Foundation, Inc.
Contributed by Cygnus Solutions.
This file is part of GDB, the GNU debugger.
/*#include <string.h>*/
#else
extern char * mktemp ();
+#ifndef memset
extern PTR memset ();
+#endif
#ifndef DONTDECLARE_MALLOC
extern PTR malloc ();
extern int free();
#endif
+#ifndef strchr
extern char * strchr();
+#endif
extern char * getenv();
extern PTR memchr();
extern char * strrchr();