summaryrefslogtreecommitdiff
path: root/Ports/RetroArch/patches/0003-Add-strlcat.patch
blob: 10bc49d4b52d016d18fffaa5fc26b8a7db0d91cb (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
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: gouchi <gouchi@free.fr>
Date: Sat, 7 May 2022 18:20:35 +0200
Subject: [PATCH] Add strlcat()

---
 Makefile.common | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Makefile.common b/Makefile.common
index 580beba..dbfbd39 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -186,6 +186,10 @@ ifneq ($(findstring Linux,$(OS)),)
    HAVE_UNIX = 1
 endif
 
+ifneq ($(findstring SerenityOS,$(OS)),)
+	OBJ += $(LIBRETRO_COMM_DIR)/compat/compat_strl.o
+endif
+
 ifeq ($(HAVE_UNIX), 1)
    OBJ += frontend/drivers/platform_unix.o