ladybird/Ports/epsilon/patches/0002-Include-some-missing-headers.patch

38 lines
1.1 KiB
Diff

From 0000000000000000000000000000000000000000 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] 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>