Xtrans defines BytesReadable_t as int or long depending on whether
LONG64 is defined.  So on a 64bit build it would be int when building
FSConnServ.c, but long for fs_transport.c.  To fix this inconsistency,
make fs_transport.c include <X11/Xmd.h>.

Debian bug#749120

Reported-by: Michael Tautschnig <m...@debian.org>
Signed-off-by: Julien Cristau <jcris...@debian.org>
---
 src/fs_transport.c | 1 +
 1 file changed, 1 insertion(+)

I'm not sure if this should be fixed in xtrans instead...

diff --git a/src/fs_transport.c b/src/fs_transport.c
index a924f91..347bd43 100644
--- a/src/fs_transport.c
+++ b/src/fs_transport.c
@@ -28,4 +28,5 @@
 #endif
 
 #include "config.h" /* Need to know which transport types to support */
+#include <X11/Xmd.h>
 #include <X11/Xtrans/transport.c>
-- 
2.1.4


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/1437934619-21475-1-git-send-email-jcris...@debian.org

Reply via email to