mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-06 08:26:50 +01:00
15 lines
387 B
Diff
15 lines
387 B
Diff
|
imagecapture.cpp:184:40: error: ‘Z_BEST_COMPRESSION’ was not declared in this scope
|
|||
|
|
|||
|
--- src/celestia/imagecapture.cpp
|
|||
|
+++ src/celestia/imagecapture.cpp
|
|||
|
@@ -31,6 +31,9 @@
|
|||
|
#include "png.h"
|
|||
|
#endif
|
|||
|
|
|||
|
+// Z_BEST_COMPRESSION
|
|||
|
+#include <zlib.h>
|
|||
|
+
|
|||
|
// Define png_jmpbuf() in case we are using a pre-1.0.6 version of libpng
|
|||
|
#ifndef png_jmpbuf
|
|||
|
#define png_jmpbuf(png_ptr) png_ptr->jmpbuf
|