aboutsummaryrefslogtreecommitdiff
path: root/sim/mcore/sysdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'sim/mcore/sysdep.h')
-rw-r--r--sim/mcore/sysdep.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sim/mcore/sysdep.h b/sim/mcore/sysdep.h
index adf9b5e..e2e92e1 100644
--- a/sim/mcore/sysdep.h
+++ b/sim/mcore/sysdep.h
@@ -46,7 +46,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
/*#include <string.h>*/
#else
extern char * mktemp ();
+#ifndef memset
extern PTR memset ();
+#endif
#ifndef DONTDECLARE_MALLOC
extern PTR malloc ();
@@ -65,7 +67,9 @@ extern void free ();
extern int free();
#endif
+#ifndef strchr
extern char * strchr();
+#endif
extern char * getenv();
extern PTR memchr();
extern char * strrchr();