diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2008-09-15 22:45:44 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2008-09-15 22:45:44 +0000 |
commit | 385d274f5b67a0db54929e204945fed129bc0730 (patch) | |
tree | af28013a9890082309d8f659a57397a0efb50e06 /image/png.h | |
parent | d9c7f033e6d6a6914fc4523cbc3226d448cdf6cf (diff) | |
download | netsurf-385d274f5b67a0db54929e204945fed129bc0730.tar.gz netsurf-385d274f5b67a0db54929e204945fed129bc0730.tar.bz2 |
A bunch of fixes to the libpng binding
svn path=/trunk/netsurf/; revision=5338
Diffstat (limited to 'image/png.h')
-rw-r--r-- | image/png.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/image/png.h b/image/png.h index 521881136..00f41adf3 100644 --- a/image/png.h +++ b/image/png.h @@ -20,6 +20,9 @@ #ifndef _NETSURF_RISCOS_PNG_H_ #define _NETSURF_RISCOS_PNG_H_ +#include "utils/config.h" + +#ifdef WITH_PNG #include <stdbool.h> #include <png.h> @@ -49,3 +52,5 @@ bool nspng_redraw_tiled(struct content *c, int x, int y, int width, int height, float scale, unsigned long background_colour, bool repeat_x, bool repeat_y); #endif + +#endif |