From e062578f1c63fdbfbe26554272580745f75a33f9 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 14 May 2011 08:35:14 -0600 Subject: [PATCH] Fix #782454 (Calibre fails to compile with png-1.5) --- recipes/economist.recipe | 2 +- src/calibre/ebooks/pdf/images.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/economist.recipe b/recipes/economist.recipe index 894f5880b3..22e317ee68 100644 --- a/recipes/economist.recipe +++ b/recipes/economist.recipe @@ -20,7 +20,7 @@ class Economist(BasicNewsRecipe): INDEX = 'http://www.economist.com/printedition' description = ('Global news and current affairs from a European' ' perspective. Best downloaded on Friday mornings (GMT)') - + extra_css = '.headline {font-size: x-large;} \n h2 { font-size: small; } \n h1 { font-size: medium; }' oldest_article = 7.0 cover_url = 'http://www.economist.com/images/covers/currentcoverus_large.jpg' remove_tags = [ diff --git a/src/calibre/ebooks/pdf/images.cpp b/src/calibre/ebooks/pdf/images.cpp index 0e7d8b0d70..8ca7448001 100644 --- a/src/calibre/ebooks/pdf/images.cpp +++ b/src/calibre/ebooks/pdf/images.cpp @@ -13,6 +13,7 @@ #include #include #include +#include #include "images.h" #include "utils.h"