From 3541925fb1db0bce7eaca7900fdd624e2f50ed6d Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 31 Jul 2019 17:18:21 -0400 Subject: [PATCH] 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. --- src/thread/pthread_join.c | 1 + 1 file changed, 1 insertion(+) 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 -- 2.25.1