summaryrefslogtreecommitdiff
path: root/image/png.c
diff options
context:
space:
mode:
Diffstat (limited to 'image/png.c')
-rw-r--r--image/png.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/image/png.c b/image/png.c
index f88b8fcfc..4f1d18720 100644
--- a/image/png.c
+++ b/image/png.c
@@ -25,8 +25,6 @@
#include <png.h>
-#include "utils/config.h"
-
#include "desktop/plotters.h"
#include "content/content_protected.h"
@@ -39,8 +37,6 @@
#include "utils/talloc.h"
#include "utils/utils.h"
-#ifdef WITH_PNG
-
/* accommodate for old versions of libpng (beware security holes!) */
#ifndef png_jmpbuf
@@ -438,5 +434,3 @@ static const char *nspng_types[] = {
};
CONTENT_FACTORY_REGISTER_TYPES(nspng, nspng_types, nspng_content_handler);
-
-#endif