From e782bfd66bd7bfb0b8dcb5543a635811b7b43464 Mon Sep 17 00:00:00 2001 From: PulkoMandy Date: Mon, 24 Oct 2022 20:05:39 +0200 Subject: [PATCH] Attempt to fix gp2x build --- src/pngformat.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pngformat.c b/src/pngformat.c index 8e823a13..f45e258e 100644 --- a/src/pngformat.c +++ b/src/pngformat.c @@ -25,11 +25,12 @@ #ifdef __MINT__ #undef _GNU_SOURCE #endif +#include + #include #include #include #include -#include #if !defined(PNG_HAVE_PLTE) #define PNG_HAVE_PLTE 0x02 #endif