summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@gnome.org>2022-12-20 23:27:00 +0000
committerMichael Catanzaro <mcatanzaro@gnome.org>2022-12-20 23:27:00 +0000
commite4975341bcbca24564ca23a6b7a6c9be58d73467 (patch)
treecff5f552769f4fa752540ce339284571752aab4f
parentcbee90b8a4a0d4de40425f11ba15300db5284b5e (diff)
parent03cb4261e00cf505790f4fd4e69f97b2ef4fcccd (diff)
downloadglib-e4975341bcbca24564ca23a6b7a6c9be58d73467.tar.gz
Merge branch 'mcatanzaro/gthread-posix-errno' into 'main'
gthread-posix: need to #include <errno.h> See merge request GNOME/glib!3157
-rw-r--r--glib/gthreadprivate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/glib/gthreadprivate.h b/glib/gthreadprivate.h
index 6eaf42275..f34368a7c 100644
--- a/glib/gthreadprivate.h
+++ b/glib/gthreadprivate.h
@@ -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>