]> git.pld-linux.org Git - packages/glib2.git/blame - errno.patch
up to 2.74.4
[packages/glib2.git] / errno.patch
CommitLineData
ecece9d0
JP
1From 03cb4261e00cf505790f4fd4e69f97b2ef4fcccd Mon Sep 17 00:00:00 2001
2From: Michael Catanzaro <mcatanzaro@redhat.com>
3Date: Tue, 20 Dec 2022 17:10:41 -0600
4Subject: [PATCH] gthread-posix: need to #include <errno.h>
5
6a79c6af23eff5ee978db62e048828c9a992a1261 uses errno without the required
7header.
8---
9 glib/gthreadprivate.h | 1 +
10 1 file changed, 1 insertion(+)
11
12diff --git a/glib/gthreadprivate.h b/glib/gthreadprivate.h
13index 6eaf422753..f34368a7c2 100644
14--- a/glib/gthreadprivate.h
15+++ b/glib/gthreadprivate.h
16@@ -41,6 +41,7 @@ struct _GRealThread
17 /* system thread implementation (gthread-posix.c, gthread-win32.c) */
18
19 #if defined(HAVE_FUTEX) || defined(HAVE_FUTEX_TIME64)
20+#include <errno.h>
21 #include <linux/futex.h>
22 #include <sys/syscall.h>
23 #include <unistd.h>
24--
25GitLab
26
This page took 0.031469 seconds and 4 git commands to generate.