]> granicus.if.org Git - check/commit
autotools: include pthread.h when checking for clockid_t/timer_t
authorbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Tue, 31 Dec 2013 20:39:31 +0000 (20:39 +0000)
committerbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Tue, 31 Dec 2013 20:39:31 +0000 (20:39 +0000)
commit2cc4932d59a77ed607b272f0620a29832193bf00
tree01bdc2d68e1e0743d9d9b3d1bd23be58b9e84ddb
parenta0e7d714a652859b824319b1572e64954b87ff92
autotools: include pthread.h when checking for clockid_t/timer_t

Must include pthread.h to check for clockid_t and timer_t. This is
because MinGW and MinGW-w64 both put the time related definitions
in pthread headers and not in sys/types.h. Without optionally
including pthread.h, the check for these types may mistakenly fail.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@981 64e312b2-a51f-0410-8e61-82d0ca0eb02a
configure.ac