Files
haikuports/media-libs/libmng/patches/libmng-2.0.3.patchset
2016-07-09 09:14:28 -04:00

26 lines
608 B
Plaintext

From f96cd1e17baaac1c9064274252892515521f4f5f Mon Sep 17 00:00:00 2001
From: Calvin Hill <calvin@hakobaito.co.uk>
Date: Sat, 9 Jul 2016 01:06:59 +0100
Subject: [PATCH] Fix libmng build issues
---
libmng_jpeg.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libmng_jpeg.c b/libmng_jpeg.c
index f5c43a4..e457d00 100644
--- a/libmng_jpeg.c
+++ b/libmng_jpeg.c
@@ -67,6 +67,9 @@
#include "libmng_pixels.h"
#include "libmng_jpeg.h"
+#define TRUE 1
+#define FALSE 0
+
#if defined(__BORLANDC__) && defined(MNG_STRICT_ANSI)
#pragma option -A /* force ANSI-C */
#endif
--
2.2.2