mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 02:12:09 -05:00
24 lines
868 B
Diff
24 lines
868 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Kenneth Myhra <kennethmyhra@gmail.com>
|
|
Date: Thu, 12 Aug 2021 20:54:46 +0200
|
|
Subject: [PATCH] Include arpa compatibility definitions
|
|
|
|
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 aeeb40e..3a48b27 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 {
|