ladybird/Ports/glib/patches/0009-include-section-with-missing-functionality.patch
2021-08-14 22:32:00 +01:00

28 lines
898 B
Diff

From f4bbbbae7d502766e44c69f6c9286ef9ed0bf485 Mon Sep 17 00:00:00 2001
From: Kenneth Myhra <kennethmyhra@gmail.com>
Date: Thu, 12 Aug 2021 20:54:46 +0200
Subject: [PATCH 09/12] gio/gthredresolver.c: Need to include this section
Serenity is missing all that is defined in this section so let's
include it.
---
gio/gthreadedresolver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gio/gthreadedresolver.c b/gio/gthreadedresolver.c
index 93794b5..64c3b2e 100644
--- a/gio/gthreadedresolver.c
+++ b/gio/gthreadedresolver.c
@@ -394,7 +394,7 @@ lookup_by_address_finish (GResolver *resolver,
#if defined(G_OS_UNIX)
-#if defined __BIONIC__ && !defined BIND_4_COMPAT
+#if defined __serenity__ || defined __BIONIC__ && !defined BIND_4_COMPAT
/* Copy from bionic/libc/private/arpa_nameser_compat.h
* and bionic/libc/private/arpa_nameser.h */
typedef struct {
--
2.25.1