From 5d34e43f8d238748d1659cd92c86bae65edd189b Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Fri, 26 Nov 1999 13:33:41 +0000 Subject: [PATCH] Include php_config.h in both files, otherwise HAVE_STRLCAT/HAVE_STRLCPY will never be defined, even on systems which have these functions. --- main/strlcat.c | 2 ++ main/strlcpy.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/main/strlcat.c b/main/strlcat.c index 9fde37b933..a8be3b437e 100644 --- a/main/strlcat.c +++ b/main/strlcat.c @@ -1,3 +1,5 @@ +#include "php_config.h" + #ifndef HAVE_STRLCAT /* $OpenBSD: strlcat.c,v 1.2 1999/06/17 16:28:58 millert Exp $ */ diff --git a/main/strlcpy.c b/main/strlcpy.c index 0d7d964e70..fe6760ca76 100644 --- a/main/strlcpy.c +++ b/main/strlcpy.c @@ -1,3 +1,5 @@ +#include "php_config.h" + #ifndef HAVE_STRLCPY /* $OpenBSD: strlcpy.c,v 1.4 1999/05/01 18:56:41 millert Exp $ */ -- 2.40.0