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

a79c6af23e uses errno without the required
header.
This commit is contained in:
Michael Catanzaro 2022-12-20 17:10:41 -06:00
parent cbee90b8a4
commit 03cb4261e0

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>