From b70141c17d943c8469e45bcfa794121533e58c6c Mon Sep 17 00:00:00 2001 From: Rob Kendrick Date: Wed, 18 Jul 2007 14:47:41 +0000 Subject: Wrap jpeg.c with #ifdef WITH_JPEG svn path=/trunk/netsurf/; revision=3431 --- image/jpeg.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'image') diff --git a/image/jpeg.c b/image/jpeg.c index 7114bd550..866da9132 100644 --- a/image/jpeg.c +++ b/image/jpeg.c @@ -17,9 +17,10 @@ #include #include #include +#include "utils/config.h" +#ifdef WITH_JPEG #define JPEG_INTERNAL_OPTIONS #include "jpeglib.h" -#include "utils/config.h" #include "content/content.h" #include "desktop/plotters.h" #include "image/bitmap.h" @@ -250,3 +251,5 @@ void nsjpeg_destroy(struct content *c) bitmap_destroy(c->bitmap); free(c->title); } + +#endif /* WITH_JPEG */ -- cgit v1.2.3