From: Rich Felker Date: Wed, 31 Jul 2019 21:18:21 +0000 (-0400) Subject: fix missing declarations for pthread_join extensions in source file X-Git-Tag: v1.1.24~63 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3541925fb1db0bce7eaca7900fdd624e2f50ed6d;p=oweals%2Fmusl.git fix missing declarations for pthread_join extensions in source file per policy, define the feature test macro to get declarations for the pthread_tryjoin_np and pthread_timedjoin_np functions. in the past this has been only for checking; with 32-bit archs getting 64-bit time_t it will also be necessary for symbols to get redirected correctly. --- diff --git a/src/thread/pthread_join.c b/src/thread/pthread_join.c index b8813e02..17dae85d 100644 --- a/src/thread/pthread_join.c +++ b/src/thread/pthread_join.c @@ -1,3 +1,4 @@ +#define _GNU_SOURCE #include "pthread_impl.h" #include