From 7d96e5a877d2957a41d2e50da35198e2015e9e14 Mon Sep 17 00:00:00 2001 From: Shin-ichi TOYAMA Date: Sat, 18 Aug 2012 09:18:41 +0000 Subject: [PATCH] With old png.h, PNG_HAVE_IHDR is not defined unless PNG_INTERNAL is defined --- src/tuxpaint.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tuxpaint.c b/src/tuxpaint.c index 778728f6e..b554d53f4 100644 --- a/src/tuxpaint.c +++ b/src/tuxpaint.c @@ -460,6 +460,7 @@ static void mtw(wchar_t * wtok, char * tok) #endif +#define PNG_INTERNAL #include #define FNAME_EXTENSION ".png" #ifndef PNG_H