mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-08 12:56:23 +03:00
Ports: Remove wchar parts from openssh patches
This commit is contained in:
parent
939469c831
commit
1145638de5
Notes:
sideshowbarker
2024-07-17 22:24:17 +09:00
Author: https://github.com/timschumi Commit: https://github.com/SerenityOS/serenity/commit/1145638de5e Pull-request: https://github.com/SerenityOS/serenity/pull/11358
@ -150,19 +150,6 @@ index 554ceb0b..67464ef2 100644
|
||||
#include <netinet/ip.h>
|
||||
#include <netinet/tcp.h>
|
||||
#include <arpa/inet.h>
|
||||
diff --git a/openbsd-compat/bsd-misc.c b/openbsd-compat/bsd-misc.c
|
||||
index 059b6d3b..2a248c81 100644
|
||||
--- a/openbsd-compat/bsd-misc.c
|
||||
+++ b/openbsd-compat/bsd-misc.c
|
||||
@@ -362,7 +362,7 @@ pledge(const char *promises, const char *paths[])
|
||||
}
|
||||
#endif
|
||||
|
||||
-#ifndef HAVE_MBTOWC
|
||||
+#if !defined(HAVE_MBTOWC) && !defined(__serenity__)
|
||||
/* a mbtowc that only supports ASCII */
|
||||
int
|
||||
mbtowc(wchar_t *pwc, const char *s, size_t n)
|
||||
diff --git a/openbsd-compat/getrrsetbyname-ldns.c b/openbsd-compat/getrrsetbyname-ldns.c
|
||||
index 4647b623..d684f6fb 100644
|
||||
--- a/openbsd-compat/getrrsetbyname-ldns.c
|
||||
|
Loading…
Reference in New Issue
Block a user