From: Bart Van Assche Date: Sat, 11 Oct 2008 19:04:40 +0000 (+0000) Subject: Removed inclusion of . X-Git-Tag: svn/VALGRIND_3_4_0~227 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4842d4beafed706efb80de1e8a004d4a9158cf67;p=thirdparty%2Fvalgrind.git Removed inclusion of . git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8661 --- diff --git a/drd/drd_pthread_intercepts.c b/drd/drd_pthread_intercepts.c index ce4c52e8b6..7e6c5a3ce6 100644 --- a/drd/drd_pthread_intercepts.c +++ b/drd/drd_pthread_intercepts.c @@ -54,9 +54,6 @@ #include #include #include // confstr() -#if defined(HAVE_BITS_LIBC_LOCK_H) -#include -#endif #include "config.h" #include "drd_clientreq.h" #include "pub_tool_redir.h" @@ -108,8 +105,8 @@ static void init(void) DRD_IGNORE_VAR(*stdout); DRD_IGNORE_VAR(*stderr); #if defined(HAVE_BITS_LIBC_LOCK_H) - DRD_IGNORE_VAR(*(__libc_lock_recursive_t*)(stdout->_lock)); - DRD_IGNORE_VAR(*(__libc_lock_recursive_t*)(stderr->_lock)); + DRD_IGNORE_VAR(*(pthread_mutex_t*)(stdout->_lock)); + DRD_IGNORE_VAR(*(pthread_mutex_t*)(stderr->_lock)); #endif }