summaryrefslogtreecommitdiff
blob: 3da2d672c47bcddde34a582c853172c8830828ea (plain)
1
2
3
4
5
6
7
8
9
10
--- screenshot.c
+++ screenshot.c
@@ -48,6 +48,7 @@
 
 #ifdef USE_LIBPNG
 
+#include <zlib.h>
 #include <png.h>
 
 static int get_rgb32_data( libspectrum_byte *rgb32_data, size_t stride,