From 1f2219aeada39d011e9bf52fe49c630465a2a77e Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Tue, 13 May 2008 21:38:30 +0000 Subject: Make this obey WITH_MNG correctly -- previously included libmng.h regardless svn path=/trunk/netsurf/; revision=4155 --- image/mng.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'image') diff --git a/image/mng.c b/image/mng.c index 857b0d585..fb2528514 100644 --- a/image/mng.c +++ b/image/mng.c @@ -20,6 +20,9 @@ * Content for image/mng, image/png, and image/jng (implementation). */ +#include "utils/config.h" +#ifdef WITH_MNG + #include #include #include @@ -27,7 +30,6 @@ #include #include #include -#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. */ -- cgit v1.2.3