summaryrefslogtreecommitdiff
path: root/package/php/patches/patch-ext_gd_libgd_gd_compat_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-07-17 13:18:29 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-07-17 13:18:29 +0200
commit2c65da4754459da27bc191e7ce68f581d31b15c2 (patch)
tree7d8007aaf43b3ab33e6ace08f6eaa818c8b5624a /package/php/patches/patch-ext_gd_libgd_gd_compat_c
parent2371972204f39a09cffea02217b2303aa1455a06 (diff)
fix compile
Diffstat (limited to 'package/php/patches/patch-ext_gd_libgd_gd_compat_c')
-rw-r--r--package/php/patches/patch-ext_gd_libgd_gd_compat_c10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/php/patches/patch-ext_gd_libgd_gd_compat_c b/package/php/patches/patch-ext_gd_libgd_gd_compat_c
new file mode 100644
index 000000000..971de9db6
--- /dev/null
+++ b/package/php/patches/patch-ext_gd_libgd_gd_compat_c
@@ -0,0 +1,10 @@
+--- php-5.4.17.orig/ext/gd/libgd/gd_compat.c 2013-07-03 08:10:53.000000000 +0200
++++ php-5.4.17/ext/gd/libgd/gd_compat.c 2013-07-17 13:09:52.000000000 +0200
+@@ -5,6 +5,7 @@
+ #endif
+
+ #ifdef HAVE_GD_JPG
++# include <stdio.h>
+ # include <jpeglib.h>
+ #endif
+