diff options
author | Pino Toscano <pino@kde.org> | 2012-12-09 22:40:27 +0100 |
---|---|---|
committer | Pino Toscano <pino@kde.org> | 2012-12-09 22:41:30 +0100 |
commit | e306bad391a3ff49593f1f3bac0717d62599bd13 (patch) | |
tree | cf13d025cfe20ac0dfd5d2dfc62808103b90020d /utils | |
parent | cf338551e9d031cc00d56cea0d258ec5fd96e79a (diff) |
pngwriter: move #include <png.h> into .cc file
Move all the private data (including the libpng types) to a private class.
This requires HtmlOutputDev.cc to include <png.h> on its own (which is correct, since it uses the libpng API directly).
Diffstat (limited to 'utils')
-rw-r--r-- | utils/HtmlOutputDev.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/HtmlOutputDev.cc b/utils/HtmlOutputDev.cc index e4bd0b1b..565c9320 100644 --- a/utils/HtmlOutputDev.cc +++ b/utils/HtmlOutputDev.cc @@ -67,6 +67,10 @@ #include "Outline.h" #include "PDFDoc.h" +#ifdef ENABLE_LIBPNG +#include <png.h> +#endif + #define DEBUG __FILE__ << ": " << __LINE__ << ": DEBUG: " class HtmlImage |