Work around broken FreeBSD headers

It seems that including just pthread.h does not define
clockid_t on these systems.

https://bugzilla.gnome.org/show_bug.cgi?id=722526
This commit is contained in:
Matthias Clasen 2014-01-19 17:13:51 -05:00
parent d102cf2b0f
commit 2a3ee7ceaf

View File

@ -120,6 +120,7 @@ void g_thread_foreach (GFunc thread_func,
gpointer user_data);
#ifndef G_OS_WIN32
#include <time.h>
#include <pthread.h>
#endif