]> granicus.if.org Git - php/commitdiff
Fixed build error "undefined symbol gdJpegGetVersionString"
authorXinchen Hui <laruence@gmail.com>
Fri, 20 Nov 2015 07:22:05 +0000 (15:22 +0800)
committerXinchen Hui <laruence@gmail.com>
Fri, 20 Nov 2015 07:22:05 +0000 (15:22 +0800)
ext/gd/gd_compat.c

index dc6a95ae1165067960f6d563ccae6baa19481619..d6531f67f6585f2e2d63ae0fa096114c3506a680 100644 (file)
@@ -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 <png.h>