diff --git a/libraries/libldap_r/thr_sleep.c b/libraries/libldap_r/thr_sleep.c index 001bb1a83b..97ad586424 100644 --- a/libraries/libldap_r/thr_sleep.c +++ b/libraries/libldap_r/thr_sleep.c @@ -31,6 +31,8 @@ #include #include /* get sleep() */ +#include "ldap_pvt_thread.h" + #if !defined( HAVE_LWP ) /*