mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
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:
parent
d102cf2b0f
commit
2a3ee7ceaf
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user