aboutsummaryrefslogtreecommitdiff
path: root/games/ufoai/files/patch-images.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/ufoai/files/patch-images.c')
-rw-r--r--games/ufoai/files/patch-images.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/games/ufoai/files/patch-images.c b/games/ufoai/files/patch-images.c
new file mode 100644
index 000000000000..b2983addf4ba
--- /dev/null
+++ b/games/ufoai/files/patch-images.c
@@ -0,0 +1,10 @@
+--- src/shared/images.c.orig 2010-11-29 17:46:35.000000000 +0100
++++ src/shared/images.c 2012-04-25 06:15:32.000000000 +0200
+@@ -32,6 +32,7 @@
+
+ #include <jpeglib.h>
+ #include <png.h>
++#include <zlib.h>
+
+ /** image formats, tried in this order */
+ static char *IMAGE_TYPES[] = { "tga", "png", "jpg", NULL };