mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 02:38:13 +00:00
Ports: Format patches without numbering, commit hash or version number
This commit is contained in:
parent
d69a79b03b
commit
d426c5a4b2
371 changed files with 806 additions and 1884 deletions
|
@ -0,0 +1,38 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Kenneth Myhra <kennethmyhra@gmail.com>
|
||||
Date: Thu, 12 Aug 2021 21:03:13 +0200
|
||||
Subject: [PATCH] Include 'strings.h' for strcasecmp
|
||||
|
||||
---
|
||||
glib/glib-init.c | 3 +++
|
||||
glib/gstrfuncs.c | 3 +++
|
||||
2 files changed, 6 insertions(+)
|
||||
|
||||
diff --git a/glib/glib-init.c b/glib/glib-init.c
|
||||
index e7b4984..340b358 100644
|
||||
--- a/glib/glib-init.c
|
||||
+++ b/glib/glib-init.c
|
||||
@@ -26,6 +26,9 @@
|
||||
#include "gconstructor.h"
|
||||
#include "gmem.h" /* for g_mem_gc_friendly */
|
||||
|
||||
+#ifdef __serenity__
|
||||
+#include <strings.h>
|
||||
+#endif
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
diff --git a/glib/gstrfuncs.c b/glib/gstrfuncs.c
|
||||
index 9273533..de22330 100644
|
||||
--- a/glib/gstrfuncs.c
|
||||
+++ b/glib/gstrfuncs.c
|
||||
@@ -32,6 +32,9 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <locale.h>
|
||||
+#ifdef __serenity__
|
||||
+#include <strings.h>
|
||||
+#endif
|
||||
#include <string.h>
|
||||
#include <locale.h>
|
||||
#include <errno.h>
|
Loading…
Add table
Add a link
Reference in a new issue