[PATCH libxtrans] Make sure LONG64 is defined if necessary

Alan Coopersmith alan.coopersmith at oracle.com
Thu Sep 24 14:19:31 PDT 2015


On 07/29/15 11:41 AM, Julien Cristau wrote:
> 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 at debian.org>
> Signed-off-by: Julien Cristau <jcristau at debian.org>
> ---
>   Xtrans.h | 1 +
>   1 file changed, 1 insertion(+)
>
> 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>

Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the xorg-devel mailing list