summaryrefslogtreecommitdiff
path: root/Ports/epsilon/patches/0002-Include-some-missing-headers.patch
blob: cfb2a5695f438bb2464ec1587aa694304cbfd5b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
From 150a510965a5f673ca1fc3459f0f1766cdfa1217 Mon Sep 17 00:00:00 2001
From: Joachim Le Fournis <joachimlf@pm.me>
Date: Tue, 13 Jul 2021 21:17:44 +0200
Subject: [PATCH 2/3] Include some missing headers

---
 ion/src/simulator/linux/platform_files.cpp  | 1 +
 ion/src/simulator/linux/platform_images.cpp | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/ion/src/simulator/linux/platform_files.cpp b/ion/src/simulator/linux/platform_files.cpp
index b866fe0..cc31edc 100644
--- a/ion/src/simulator/linux/platform_files.cpp
+++ b/ion/src/simulator/linux/platform_files.cpp
@@ -1,4 +1,5 @@
 #include "../shared/platform.h"
+#include <cstdio>
 
 namespace Ion {
 namespace Simulator {
diff --git a/ion/src/simulator/linux/platform_images.cpp b/ion/src/simulator/linux/platform_images.cpp
index 0fb2386..94ed16c 100644
--- a/ion/src/simulator/linux/platform_images.cpp
+++ b/ion/src/simulator/linux/platform_images.cpp
@@ -1,10 +1,12 @@
 #include "../shared/platform.h"
 
 #include <assert.h>
+#include <stdio.h>
 #include <jpeglib.h>
 #include <png.h>
 #include <SDL.h>
 #include <stdlib.h>
+#include <cstring>
 
 #include <ion/src/simulator/linux/platform_images.h>
 
-- 
2.36.1