Skip to content

Commit 5d34e43

Browse files
author
Sascha Schumann
committed
Include php_config.h in both files, otherwise HAVE_STRLCAT/HAVE_STRLCPY will never be defined, even on systems which have these functions.
1 parent 327e8f7 commit 5d34e43

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

main/strlcat.c

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#include "php_config.h"
2+
13
#ifndef HAVE_STRLCAT
24

35
/* $OpenBSD: strlcat.c,v 1.2 1999/06/17 16:28:58 millert Exp $ */

main/strlcpy.c

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#include "php_config.h"
2+
13
#ifndef HAVE_STRLCPY
24

35
/* $OpenBSD: strlcpy.c,v 1.4 1999/05/01 18:56:41 millert Exp $ */

0 commit comments

Comments
 (0)