diff options
author | Baruch Siach <baruch@tkos.co.il> | 2014-05-05 09:32:23 +0300 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2014-08-14 17:37:49 +0200 |
commit | bf8dfa9f33c1aa8d76f8d1ae6cf79afb90497cd4 (patch) | |
tree | c0e14d745807c6ef5f7bf6fa08aa9d5cdc4a87f5 /po/ca@valencia.po | |
parent | ea10b26125eff14d5b138ceb0e55994bd38f7381 (diff) |
Fix build against older pthreads implementations
Older pthreads implementations like glibc NPTL prior to version 2.12, and
uClibc linuxthreads (both), need _XOPEN_SOURCE to expose
pthread_mutexattr_settype() and THREAD_MUTEX_DEFAULT. The value 600 (SuSv3,
POSIX.1-2001) is equivalent to _POSIX_C_SOURCE 200112L.
Fixes the following build error:
CC compat.lo
compat.c: In function 'p11_mutex_init':
compat.c:164:2: warning: implicit declaration of function 'pthread_mutexattr_settype' [-Wimplicit-function-declaration]
compat.c:164:2: warning: nested extern declaration of 'pthread_mutexattr_settype' [-Wnested-externs]
compat.c:164:36: error: 'PTHREAD_MUTEX_DEFAULT' undeclared (first use in this function)
https://bugs.freedesktop.org/show_bug.cgi?id=82617
Diffstat (limited to 'po/ca@valencia.po')
0 files changed, 0 insertions, 0 deletions