From c8d6673b597f71cbbb04977ff87e6d45907484c2 Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Fri, 20 Nov 2015 15:22:05 +0800 Subject: [PATCH] Fixed build error "undefined symbol gdJpegGetVersionString" --- ext/gd/gd_compat.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ext/gd/gd_compat.c b/ext/gd/gd_compat.c index dc6a95ae11..d6531f67f6 100644 --- a/ext/gd/gd_compat.c +++ b/ext/gd/gd_compat.c @@ -1,5 +1,9 @@ #include "php_config.h" +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #ifdef HAVE_GD_PNG /* needs to be first */ # include -- 2.40.0