From: Sascha Schumann Date: Fri, 26 Nov 1999 13:33:41 +0000 (+0000) Subject: Include php_config.h in both files, otherwise HAVE_STRLCAT/HAVE_STRLCPY X-Git-Tag: PRE_RETURN_REF_PATCH~246 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5d34e43f8d238748d1659cd92c86bae65edd189b;p=php Include php_config.h in both files, otherwise HAVE_STRLCAT/HAVE_STRLCPY will never be defined, even on systems which have these functions. --- 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 $ */