From: Matthias Clasen Date: Sun, 19 Jan 2014 22:13:51 +0000 (-0500) Subject: Work around broken FreeBSD headers X-Git-Tag: 2.39.4~113 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2a3ee7ceafad19ecc2bfe435a95226f74d64952f;p=platform%2Fupstream%2Fglib.git 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 --- diff --git a/glib/deprecated/gthread.h b/glib/deprecated/gthread.h index 462bb8f..25dfb21 100644 --- a/glib/deprecated/gthread.h +++ b/glib/deprecated/gthread.h @@ -120,6 +120,7 @@ void g_thread_foreach (GFunc thread_func, gpointer user_data); #ifndef G_OS_WIN32 +#include #include #endif