|
From: <sv...@va...> - 2008-10-11 19:04:52
|
Author: bart Date: 2008-10-11 20:04:40 +0100 (Sat, 11 Oct 2008) New Revision: 8661 Log: Removed inclusion of <bits/libc-lock.h>. Modified: trunk/drd/drd_pthread_intercepts.c Modified: trunk/drd/drd_pthread_intercepts.c =================================================================== --- trunk/drd/drd_pthread_intercepts.c 2008-10-11 18:47:54 UTC (rev 8660) +++ trunk/drd/drd_pthread_intercepts.c 2008-10-11 19:04:40 UTC (rev 8661) @@ -54,9 +54,6 @@ #include <stdio.h> #include <stdlib.h> #include <unistd.h> // confstr() -#if defined(HAVE_BITS_LIBC_LOCK_H) -#include <bits/libc-lock.h> -#endif #include "config.h" #include "drd_clientreq.h" #include "pub_tool_redir.h" @@ -108,8 +105,8 @@ 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 } |