calibre/calibre-0.7.59-libpng-1.5.patch

11 lines
347 B
Diff

--- calibre/src/calibre/ebooks/pdf/images.cpp.orig 2012-12-23 13:03:09.695517787 +0100
+++ calibre/src/calibre/ebooks/pdf/images.cpp 2012-12-23 13:03:25.011366729 +0100
@@ -16,6 +16,7 @@
#include "images.h"
#include "utils.h"
+#include <zlib.h>
#ifdef _WIN32
inline double round(double x) { return (x-floor(x))>0.5 ? ceil(x) : floor(x); }