summaryrefslogtreecommitdiffstats
path: root/src/jpeg-1-fixes.patch
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2013-08-17 18:18:54 (GMT)
committerMark Brand <mabrand@mabrand.nl>2013-08-17 19:55:23 (GMT)
commit153610f9ad0c29c09d987c4ddcff65c68b489992 (patch)
tree14056bfcc8d37c69cc14d0f7fcdf83832c158f54 /src/jpeg-1-fixes.patch
parentd453e7d71690d8d376404ddef653f8f868b5d28f (diff)
downloadmxe-153610f9ad0c29c09d987c4ddcff65c68b489992.zip
mxe-153610f9ad0c29c09d987c4ddcff65c68b489992.tar.gz
mxe-153610f9ad0c29c09d987c4ddcff65c68b489992.tar.bz2
package jpeg: fix missing stdio.h for FILE
Diffstat (limited to 'src/jpeg-1-fixes.patch')
-rw-r--r--src/jpeg-1-fixes.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/jpeg-1-fixes.patch b/src/jpeg-1-fixes.patch
new file mode 100644
index 0000000..93834e5
--- /dev/null
+++ b/src/jpeg-1-fixes.patch
@@ -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
+