ctdb-tests: Use replace headers instead of system headers
authorAmitay Isaacs <amitay@gmail.com>
Tue, 31 Jan 2017 05:49:14 +0000 (16:49 +1100)
committerStefan Metzmacher <metze@samba.org>
Tue, 31 Jan 2017 10:57:01 +0000 (11:57 +0100)
commit39ac4ae65eb3b8d4d3574987eab47eb7a290f2e4
treeb26ef475350a66504f116a5ae9534affc4288463
parent08b4a5f9f1575c882ab7174eb3249b574df6976f
ctdb-tests: Use replace headers instead of system headers

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12469

This ensures that PTHREAD_MUTEX_ROBUST, pthread_mutexattr_setrobust()
and pthread_mutex_consistent() are always defined.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Jan 31 11:57:01 CET 2017 on sn-devel-144
ctdb/tests/src/test_mutex_raw.c