diff options
| -rw-r--r-- | gcc/acconfig.h | 3 | ||||
| -rw-r--r-- | gcc/system.h | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/acconfig.h b/gcc/acconfig.h index 68bee4f7cbd..d702b0e0222 100644 --- a/gcc/acconfig.h +++ b/gcc/acconfig.h @@ -93,6 +93,9 @@ /* Whether strsignal must be declared even if <string.h> is included. */ #undef NEED_DECLARATION_STRSIGNAL +/* Whether strstr must be declared even if <string.h> is included. */ +#undef NEED_DECLARATION_STRSTR + /* Whether getcwd must be declared even if <unistd.h> is included. */ #undef NEED_DECLARATION_GETCWD diff --git a/gcc/system.h b/gcc/system.h index 22b48ab723c..5d1adcd9ad6 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -333,6 +333,10 @@ extern char *getwd (); extern char *sbrk (); #endif +#ifdef NEED_DECLARATION_STRSTR +extern char *strstr (); +#endif + #ifdef HAVE_STRERROR # ifdef NEED_DECLARATION_STRERROR # ifndef strerror |

