libconfig_parser_la_LIBADD = $(IMAGE_LIBS)
AM_CPPFLAGS = $(IMAGE_CFLAGS)
+AM_CFLAGS = $(GCC_CFLAGS)
noinst_LTLIBRARIES = libconfig-parser.la
libconfig_parser_la_SOURCES = \
#include <png.h>
#include <pixman.h>
+#include "config-parser.h"
+
#define ARRAY_LENGTH(a) (sizeof (a) / sizeof (a)[0])
#ifdef HAVE_WEBP
{
struct jpeg_decompress_struct cinfo;
struct jpeg_error_mgr jerr;
- int stride, i, first;
+ unsigned int i;
+ int stride, first;
JSAMPLE *data, *rows[4];
jmp_buf env;
pixman_image_t *image;
unsigned char header[4];
FILE *fp;
- int i;
+ unsigned int i;
fp = fopen(filename, "rb");
if (fp == NULL)