summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2015-07-29 20:36:13 +0200
committerJulien Cristau <jcristau@debian.org>2015-09-25 08:04:57 +0200
commit1d31b87e8045f3fc89b1914187a9a13861d35f2d (patch)
treed4f627539d0332bfc3eef0b5ec2ad3324e284cc6
parent7cbad9fe2e61cd9d5caeaf361826a6f4bd320f03 (diff)
Make sure LONG64 is defined in Xtrans.h
Xtrans.h defines BytesReadable_t as int or long depending on whether LONG64 is defined. We need to make sure Xmd.h is included so our idea of BytesReadable_t is consistent across compilation units. Debian bug#749120 Reported-by: Michael Tautschnig <mt@debian.org> Signed-off-by: Julien Cristau <jcristau@debian.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--Xtrans.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Xtrans.h b/Xtrans.h
index 026fbd7..22e0440 100644
--- a/Xtrans.h
+++ b/Xtrans.h
@@ -52,6 +52,7 @@ from The Open Group.
#include <X11/Xfuncproto.h>
#include <X11/Xos.h>
+#include <X11/Xmd.h>
#ifndef WIN32
#include <sys/socket.h>