aboutsummaryrefslogtreecommitdiff
path: root/games/glestae/libpng-1.5.patch
blob: a5032866c981720ec9ce3eca5984c3a73a452b6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff -Naur glestae-src-0.3.93.orig/source/shared_lib/sources/graphics/pixmap.cpp glestae-src-0.3.93/source/shared_lib/sources/graphics/pixmap.cpp
--- glestae-src-0.3.93.orig/source/shared_lib/sources/graphics/pixmap.cpp	2011-10-05 17:48:29.000000000 +0000
+++ glestae-src-0.3.93/source/shared_lib/sources/graphics/pixmap.cpp	2012-07-04 02:54:14.252629579 +0000
@@ -12,6 +12,10 @@
 #include "pch.h"
 #include "pixmap.h"
 
+#ifndef Z_DEFAULT_COMPRESSION
+#   include "zlib.h"
+#endif
+
 #include <stdexcept>
 #include <cstdio>
 #include <cassert>