mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-25 13:37:02 +03:00
Wrap jpeg.c with #ifdef WITH_JPEG
svn path=/trunk/netsurf/; revision=3431
This commit is contained in:
parent
306f5588f3
commit
b70141c17d
@ -17,9 +17,10 @@
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#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 */
|
||||
|
Loading…
Reference in New Issue
Block a user