package jpeg: fix missing stdio.h for FILE

This commit is contained in:
Mark Brand 2013-08-17 20:18:54 +02:00
parent d453e7d716
commit 153610f9ad
1 changed files with 25 additions and 0 deletions

25
src/jpeg-1-fixes.patch Normal file
View File

@ -0,0 +1,25 @@
This file is part of MXE.
See index.html for further information.
From e523bccfefbf105ebe00d986bb1f057dfc304247 Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Sat, 17 Aug 2013 20:16:41 +0200
Subject: [PATCH] include stdio.h for FILE
diff --git a/jpeglib.h b/jpeglib.h
index 0a6dac4..2028d4e 100644
--- a/jpeglib.h
+++ b/jpeglib.h
@@ -33,6 +33,8 @@ extern "C" {
#endif
#endif
+#include <stdio.h>
+
/* Version IDs for the JPEG library.
* Might be useful for tests like "#if JPEG_LIB_VERSION >= 90".
*/
--
1.8.1.4