From ba3d1ecf28f22913ec141b69414d1c4b93a29f43 Mon Sep 17 00:00:00 2001
From: Spoike <acceptthis@users.sourceforge.net>
Date: Thu, 11 Nov 2010 14:25:44 +0000
Subject: [PATCH] ...

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3650 fc73d0e0-1445-4013-8a0c-d673dee63da5
---
 engine/client/image.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/engine/client/image.c b/engine/client/image.c
index 9aa950fcb..28c9da2e9 100644
--- a/engine/client/image.c
+++ b/engine/client/image.c
@@ -568,6 +568,12 @@ return NULL;
 		#endif
 	#endif
 
+#ifndef PNG_NORETURN
+#define PNG_NORETURN
+#endif
+#ifndef PNG_ALLOCATED
+#define PNG_ALLOCATED
+#endif
 
 
 void (PNGAPI *qpng_error) PNGARG((png_structp png_ptr, png_const_charp error_message)) PNG_NORETURN PSTATIC(png_error);