diff --git a/libraries/libldap_r/thr_posix.c b/libraries/libldap_r/thr_posix.c index 35bde07327..e0368cc1eb 100644 --- a/libraries/libldap_r/thr_posix.c +++ b/libraries/libldap_r/thr_posix.c @@ -14,6 +14,8 @@ * . */ +#define _XOPEN_SOURCE 500 /* For pthread_setconcurrency() on glibc */ + #include "portable.h" #if defined( HAVE_PTHREADS )