summaryrefslogtreecommitdiff
path: root/ext/recode/recode.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/recode/recode.c')
-rw-r--r--ext/recode/recode.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/recode/recode.c b/ext/recode/recode.c
index cb91166012..9c1c837440 100644
--- a/ext/recode/recode.c
+++ b/ext/recode/recode.c
@@ -30,8 +30,10 @@
#if HAVE_LIBRECODE
/* For recode 3.5 */
+#if HAVE_BROKEN_RECODE
extern char *program_name;
char *program_name = "php";
+#endif
#ifdef HAVE_STDBOOL_H
# include <stdbool.h>