diff options
Diffstat (limited to 'image/jpeg.h')
-rw-r--r-- | image/jpeg.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/image/jpeg.h b/image/jpeg.h index 6760b42a6..ffe040943 100644 --- a/image/jpeg.h +++ b/image/jpeg.h @@ -23,6 +23,9 @@ #ifndef _NETSURF_IMAGE_JPEG_H_ #define _NETSURF_IMAGE_JPEG_H_ +#include "utils/config.h" +#ifdef WITH_JPEG + #include <stdbool.h> struct bitmap; @@ -44,4 +47,6 @@ bool nsjpeg_redraw_tiled(struct content *c, int x, int y, float scale, unsigned long background_colour, bool repeat_x, bool repeat_y); +#endif /* WITH_JPEG */ + #endif |