summaryrefslogtreecommitdiffstats
path: root/src/jpeg-1-fixes.patch
blob: b5b5ec336ff4ceab8b837ab335fab199a46a747c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
This file is part of MXE. See LICENSE.md for licensing information.

Contains ad hoc patches for cross building.

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Sat, 17 Aug 2013 20:16:41 +0200
Subject: [PATCH 1/1] include stdio.h for FILE


diff --git a/jpeglib.h b/jpeglib.h
index 1111111..2222222 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".
  */