Commit 57b7003a authored by Sergei Trofimovich's avatar Sergei Trofimovich Committed by Quanah Gibson-Mount
Browse files

thr_posix.c: fix implicit function declaration for 'pthread_setconcurrency'



thr_posix.c: In function 'ldap_pvt_thread_set_concurrency':
thr_posix.c:96:9: error: implicit declaration of function 'pthread_setconcurrency'
  return pthread_setconcurrency( n );
         ^~~~~~~~~~~~~~~~~~~~~~
         pthread_setcanceltype
Signed-off-by: default avatarSergei Trofimovich <slyfox@gentoo.org>
parent 23af2c36
......@@ -14,6 +14,8 @@
* <http://www.OpenLDAP.org/license.html>.
*/
#define _XOPEN_SOURCE 500 /* For pthread_setconcurrency() on glibc */
#include "portable.h"
#if defined( HAVE_PTHREADS )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment