Make this obey WITH_MNG correctly -- previously included libmng.h regardless

svn path=/trunk/netsurf/; revision=4155
This commit is contained in:
John Mark Bell 2008-05-13 21:38:30 +00:00
parent 23fb72ea6b
commit 1f2219aead

View File

@ -20,6 +20,9 @@
* Content for image/mng, image/png, and image/jng (implementation).
*/
#include "utils/config.h"
#ifdef WITH_MNG
#include <assert.h>
#include <stdbool.h>
#include <string.h>
@ -27,7 +30,6 @@
#include <sys/time.h>
#include <time.h>
#include <libmng.h>
#include "utils/config.h"
#include "content/content.h"
#include "desktop/browser.h"
#include "desktop/options.h"
@ -38,8 +40,6 @@
#include "utils/messages.h"
#include "utils/utils.h"
#ifdef WITH_MNG
/* We do not currently support any form of colour/gamma correction, nor do
we support dynamic MNGs.
*/