summaryrefslogtreecommitdiff
path: root/user/xscope/disable-xtrans.patch
blob: ebc44ca66df51e2e4b36967470936ad05904d94d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From 4e297db3cf54a629a2c8f38b068cd4f8434afa4c Mon Sep 17 00:00:00 2001
From: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Wed, 13 Jul 2022 15:51:58 -0700
Subject: [PATCH] fd.h: fix build when not building with xtrans

Always include <X11/Xfuncproto.h> for the definition of _X_NORETURN,
instead of relying on Xtrans.h to include it indirectly for us.

Fixes: #2
Fixes: commit cc298d1f559240976344588f9f765ee60ca3d6f3

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
---
 fd.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fd.h b/fd.h
index c317aa4..55c5b01 100644
--- a/fd.h
+++ b/fd.h
@@ -65,6 +65,7 @@
 typedef void *XtransConnInfo;
 #endif
 #include <sys/select.h>
+#include <X11/Xfuncproto.h>
 
 typedef int FD;
 
-- 
GitLab