diff options
Diffstat (limited to 'main')
| -rw-r--r-- | main/php.h | 4 | ||||
| -rw-r--r-- | main/strlcat.c | 2 | ||||
| -rw-r--r-- | main/strlcpy.c | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/main/php.h b/main/php.h index ea59e21a47..47f0f367c8 100644 --- a/main/php.h +++ b/main/php.h @@ -104,6 +104,10 @@ size_t strlcpy(char *dst, const char *src, size_t siz); size_t strlcat(char *dst, const char *src, size_t siz); #endif +#ifndef HAVE_STRTOK_R +char *strtok_r(char *s, const char *delim, char **last); +#endif + #include "request_info.h" #if HAVE_LIBDL diff --git a/main/strlcat.c b/main/strlcat.c index a8be3b437e..6b2cc1f679 100644 --- a/main/strlcat.c +++ b/main/strlcat.c @@ -1,4 +1,4 @@ -#include "php_config.h" +#include "php.h" #ifndef HAVE_STRLCAT diff --git a/main/strlcpy.c b/main/strlcpy.c index fe6760ca76..c34bf0a001 100644 --- a/main/strlcpy.c +++ b/main/strlcpy.c @@ -1,4 +1,4 @@ -#include "php_config.h" +#include "php.h" #ifndef HAVE_STRLCPY |
