summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-11-26 13:33:41 +0000
committerSascha Schumann <sas@php.net>1999-11-26 13:33:41 +0000
commit5d34e43f8d238748d1659cd92c86bae65edd189b (patch)
tree856f983f5ed7462549b37a6ce1a83ab6dfc52aed
parent327e8f7e0696007fd83cc42686368eac4f5734d0 (diff)
downloadphp-git-5d34e43f8d238748d1659cd92c86bae65edd189b.tar.gz
Include php_config.h in both files, otherwise HAVE_STRLCAT/HAVE_STRLCPY
will never be defined, even on systems which have these functions.
-rw-r--r--main/strlcat.c2
-rw-r--r--main/strlcpy.c2
2 files changed, 4 insertions, 0 deletions
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 $ */