diff options
author | Michael Catanzaro <mcatanzaro@redhat.com> | 2022-12-20 17:10:41 -0600 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@gnome.org> | 2022-12-21 17:54:56 -0500 |
commit | 6626765a79f125cf0ec9cdaefa51ceef718d41e7 (patch) | |
tree | 0272e56dcf2e5a2b3f82a2b58542bda1c1989d30 | |
parent | e35768fe299d6389f8f5eef15593762389d2c07d (diff) | |
download | glib-6626765a79f125cf0ec9cdaefa51ceef718d41e7.tar.gz |
gthread-posix: need to #include <errno.h>
a79c6af23eff5ee978db62e048828c9a992a1261 uses errno without the required
header.
(cherry picked from commit 03cb4261e00cf505790f4fd4e69f97b2ef4fcccd)
-rw-r--r-- | glib/gthreadprivate.h | 1 |
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> |