summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-07-13 15:51:58 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-07-13 15:51:58 -0700
commit4e297db3cf54a629a2c8f38b068cd4f8434afa4c (patch)
tree7a98ce30cefaade1ec7f6921df2a4e20fa3f4cfc
parent1bc30844ebf6ee3b7b14101f34defbd65ff85134 (diff)
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>
-rw-r--r--fd.h1
1 files changed, 1 insertions, 0 deletions
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;