diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2011-08-28 14:29:15 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2011-08-28 14:29:15 +0000 |
commit | cd554e6f1e42c440c791845a1a635415b23a19a2 (patch) | |
tree | 7079b2d0e4e4a24c9f5687d6cee9ce3b0c93b2f9 /image/bmp.c | |
parent | 401072e305c152b42d99d94b2283cf928562f132 (diff) | |
download | netsurf-cd554e6f1e42c440c791845a1a635415b23a19a2.tar.gz netsurf-cd554e6f1e42c440c791845a1a635415b23a19a2.tar.bz2 |
make image content handlers build conditional from teh makefile
svn path=/trunk/netsurf/; revision=12673
Diffstat (limited to 'image/bmp.c')
-rw-r--r-- | image/bmp.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/image/bmp.c b/image/bmp.c index fb62da89f..1a4152649 100644 --- a/image/bmp.c +++ b/image/bmp.c @@ -21,25 +21,24 @@ * Content for image/bmp (implementation) */ -#include "utils/config.h" -#ifdef WITH_BMP - #include <assert.h> #include <string.h> #include <stdbool.h> #include <stdlib.h> #include <libnsbmp.h> + #include "utils/config.h" #include "content/content_protected.h" #include "content/hlcache.h" #include "desktop/plotters.h" -#include "image/bitmap.h" -#include "image/bmp.h" #include "utils/log.h" #include "utils/messages.h" #include "utils/talloc.h" #include "utils/utils.h" +#include "image/bitmap.h" +#include "image/bmp.h" + typedef struct nsbmp_content { struct content base; @@ -275,5 +274,3 @@ static const char *nsbmp_types[] = { }; CONTENT_FACTORY_REGISTER_TYPES(nsbmp, nsbmp_types, nsbmp_content_handler); - -#endif |