ladybird/Ports/genemu/patches/0004-Use-SDL2-for-SDL-includes.patch

49 lines
1.0 KiB
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Ali Mohammad Pur <ali.mpfard@gmail.com>
Date: Mon, 16 May 2022 15:32:01 +0430
Subject: [PATCH] Use <SDL2> for SDL includes
---
gfx.cpp | 2 +-
ioports.cpp | 2 +-
state.cpp | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/gfx.cpp b/gfx.cpp
index 04daf6e..2848422 100644
--- a/gfx.cpp
+++ b/gfx.cpp
@@ -3,7 +3,7 @@
#include <assert.h>
#include <memory.h>
#include <stdio.h>
-#include <SDL.h>
+#include <SDL2/SDL.h>
extern "C" {
#include "hw.h"
}
diff --git a/ioports.cpp b/ioports.cpp
index 9c3f14f..9295163 100644
--- a/ioports.cpp
+++ b/ioports.cpp
@@ -1,5 +1,5 @@
#include "mem.h"
-#include <SDL.h>
+#include <SDL2/SDL.h>
extern "C" {
#include "hw.h"
}
diff --git a/state.cpp b/state.cpp
index 38bc547..aa70962 100644
--- a/state.cpp
+++ b/state.cpp
@@ -3,7 +3,7 @@
#include "vdp.h"
#include "cpu.h"
#include "hw.h"
-#include <SDL.h>
+#include <SDL2/SDL.h>
extern "C" {
#include "m68k/m68k.h"