Merge branch 'mcatanzaro/gthread-posix-errno' into 'main'

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

See merge request GNOME/glib!3157
This commit is contained in:
Michael Catanzaro 2022-12-20 23:27:00 +00:00
commit e4975341bc

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>