diff options
Diffstat (limited to 'gcc/tsystem.h')
-rw-r--r-- | gcc/tsystem.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/tsystem.h b/gcc/tsystem.h index d76c1ba62cc..f24bab78cc5 100644 --- a/gcc/tsystem.h +++ b/gcc/tsystem.h @@ -62,6 +62,10 @@ extern int atexit (void (*)(void)); extern void abort (void) __attribute__ ((__noreturn__)); #endif +#ifndef strlen +extern size_t strlen (const char *); +#endif + #else /* ! inhibit_libc */ /* We disable this when inhibit_libc, so that gcc can still be built without needing header files first. */ |