summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-11-27 00:48:50 +0000
committerZeev Suraski <zeev@php.net>1999-11-27 00:48:50 +0000
commit85210ed9bfad18a03894cc4cfb78d20a1651c6f5 (patch)
tree9a12b1eb0fa2bbd7ba40b891dc5ffb9e965328ab /main
parent4481898ff7d4eb47f6127689c7cfe7d19b662571 (diff)
downloadphp-git-85210ed9bfad18a03894cc4cfb78d20a1651c6f5.tar.gz
Get Win32 to compile again
Diffstat (limited to 'main')
-rw-r--r--main/php.h4
-rw-r--r--main/strlcat.c2
-rw-r--r--main/strlcpy.c2
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