summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>1999-09-14 19:12:57 +0000
committerAndi Gutmans <andi@php.net>1999-09-14 19:12:57 +0000
commit61a3c147c3e8a8db79219a5c225db6bca30220a5 (patch)
tree21991758d3c33c7d892aba29eb9f652cca7374d9 /main/php.h
parent4b6328e05250bd4627bc290ad160b837af83bc34 (diff)
downloadphp-git-61a3c147c3e8a8db79219a5c225db6bca30220a5.tar.gz
Add strlcpy/strlcat to the build process
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/main/php.h b/main/php.h
index fec1000107..7b87116fc5 100644
--- a/main/php.h
+++ b/main/php.h
@@ -95,6 +95,14 @@ extern unsigned char second_arg_allow_ref[];
#include <alloca.h>
#endif
+#if !HAVE_STRLCPY
+size_t strlcpy(char *dst, const char *src, size_t siz);
+#endif
+
+#if !HAVE_STRLCAT
+size_t strlcat(char *dst, const char *src, size_t siz);
+#endif
+
#include "request_info.h"
#if HAVE_LIBDL