mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-14 05:16:18 +01:00
gthread-posix: need to #include <errno.h>
a79c6af23e
uses errno without the required
header.
This commit is contained in:
parent
cbee90b8a4
commit
03cb4261e0
@ -41,6 +41,7 @@ struct _GRealThread
|
|||||||
/* system thread implementation (gthread-posix.c, gthread-win32.c) */
|
/* system thread implementation (gthread-posix.c, gthread-win32.c) */
|
||||||
|
|
||||||
#if defined(HAVE_FUTEX) || defined(HAVE_FUTEX_TIME64)
|
#if defined(HAVE_FUTEX) || defined(HAVE_FUTEX_TIME64)
|
||||||
|
#include <errno.h>
|
||||||
#include <linux/futex.h>
|
#include <linux/futex.h>
|
||||||
#include <sys/syscall.h>
|
#include <sys/syscall.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user