AndrewFromMelbourne / raspi2png

Utility to take a snapshot of the Raspberry Pi screen and save it as a PNG file
MIT License
213 stars 78 forks source link

Some platforms need zlib.h included #14

Closed loganmc10 closed 8 years ago

loganmc10 commented 8 years ago

On an rpi3 with Arch Linux:

raspi2png.c: In function 'main':
raspi2png.c:110:23: error: 'Z_DEFAULT_COMPRESSION' undeclared (first use in this function)
     int compression = Z_DEFAULT_COMPRESSION;
AndrewFromMelbourne commented 8 years ago

Thanks for fixing it!