Permalink
Browse files

Include php_config.h in both files, otherwise HAVE_STRLCAT/HAVE_STRLCPY

will never be defined, even on systems which have these functions.
  • Loading branch information...
1 parent 327e8f7 commit 5d34e43f8d238748d1659cd92c86bae65edd189b Sascha Schumann committed Nov 26, 1999
Showing with 4 additions and 0 deletions.
  1. +2 −0 main/strlcat.c
  2. +2 −0 main/strlcpy.c
View
@@ -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 $ */
View
@@ -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 $ */

0 comments on commit 5d34e43

Please sign in to comment.