[PATCH libFS] include X11/Xmd.h in fs_transport
Julien Cristau
jcristau at debian.org
Sun Jul 26 11:16:59 PDT 2015
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 <mt at debian.org>
Signed-off-by: Julien Cristau <jcristau at 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
More information about the xorg-devel
mailing list