lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 22.05-pre 32 lines 1.0 kB view raw
1From cbdbc8d00d31344fafe00e0fdf984e04e631f7c4 Mon Sep 17 00:00:00 2001 2From: TBK <tbk@jjtc.eu> 3Date: Wed, 26 Feb 2020 21:12:45 +0100 4Subject: [PATCH] Fix Linux build error with musl libc 5 6Commit bf5953c549a6d279977df69ffe89b2ba51460eaf caused a build failure 7on non-glibc Linux build environments. Change the conditionalization 8so that __GLIBC_PREREQ will only be used if it is defined. 9 10[ghudson@mit.edu: simplified conditionals; rewrote commit message] 11 12ticket: 8880 (new) 13tags: pullup 14target_version: 1.18-next 15--- 16 src/util/support/plugins.c | 3 +-- 17 1 file changed, 1 insertion(+), 2 deletions(-) 18 19diff --git a/src/util/support/plugins.c b/src/util/support/plugins.c 20index 3329db7dc3..1644d16fd0 100644 21--- a/src/util/support/plugins.c 22+++ b/src/util/support/plugins.c 23@@ -62,8 +62,7 @@ 24 * dlopen() with RTLD_NODELETE, we weren't going to unload the plugin objects 25 * anyway. 26 */ 27-#ifdef __linux__ 28-#include <features.h> 29+#ifdef __GLIBC__PREREQ 30 #if ! __GLIBC_PREREQ(2, 25) 31 #define dlclose(x) 32 #endif