diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2008-05-13 21:38:30 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2008-05-13 21:38:30 +0000 |
commit | 1f2219aeada39d011e9bf52fe49c630465a2a77e (patch) | |
tree | 5ab31f511464296b17edf32b66476e3f38e3da3c /image | |
parent | 23fb72ea6b7324d78df4b89a37566bfed6d77fbb (diff) | |
download | netsurf-1f2219aeada39d011e9bf52fe49c630465a2a77e.tar.gz netsurf-1f2219aeada39d011e9bf52fe49c630465a2a77e.tar.bz2 |
Make this obey WITH_MNG correctly -- previously included libmng.h regardless
svn path=/trunk/netsurf/; revision=4155
Diffstat (limited to 'image')
-rw-r--r-- | image/mng.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 <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. */ |