Merge branch 'cherry-pick-03cb4261' into 'glib-2-74'

gthread-posix: need to #include <errno.h>

See merge request GNOME/glib!3165
This commit is contained in:
Marco Trevisan 2022-12-22 08:22:30 +00:00
commit 1539540588

View File

@ -41,6 +41,7 @@ struct _GRealThread
/* system thread implementation (gthread-posix.c, gthread-win32.c) */
#if defined(HAVE_FUTEX) || defined(HAVE_FUTEX_TIME64)
#include <errno.h>
#include <linux/futex.h>
#include <sys/syscall.h>
#include <unistd.h>