From 34804d5162ada45b32f69b9353c62422069d5eb1 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Wed, 14 Aug 2024 18:55:34 -0400 Subject: [PATCH] Fix android crashing in c-ares and a makefile typo. --- GNUmakefile | 2 +- deps/c-ares_config/ares_build.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index b145db3a..24ccbbf0 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1123,4 +1123,4 @@ docs: .PHONY: docs fdroid: out/apk/TildeFriends-release.fdroid.unsigned.apk -.PHONE: fdroid +.PHONY: fdroid diff --git a/deps/c-ares_config/ares_build.h b/deps/c-ares_config/ares_build.h index 49037906..24fc1fea 100644 --- a/deps/c-ares_config/ares_build.h +++ b/deps/c-ares_config/ares_build.h @@ -39,6 +39,9 @@ #define GETSERVBYPORT_R_ARGS 6 #define HAVE_GETSERVBYNAME_R 1 #define HAVE_GETSERVBYPORT_R 1 +#endif + +#if !defined(__APPLE__) && !defined(_WIN32) && !defined(__OpenBSD__) #define HAVE_PIPE2 1 #endif