[PATCH] xext: Fix shmint.h to not use headers outside of sdk_HEADERS

Julien Cristau jcristau at debian.org
Wed Nov 13 10:38:14 PST 2013


On Wed, Nov 13, 2013 at 07:01:45 +0900, Keith Packard wrote:

> shmint.h is part of sdk_HEADERS, and so can't use anything not
> included in sdk_HEADERS.
> 
> busfault.h includes dix-config.h which is not. Leave the use of
> struct busfault in shmint.h and move the include of busfault.h to
> shm.c.
> 
> protocol-versions.h is not part of sdk_HEADERS, so instead of using
> that, just use XTRANS_SEND_FDS to choose whether to expose the fd
> passing requests directly.
> 
> Reported-by: Julien Cristau <jcristau at debian.org>
> Signed-off-by: Keith Packard <keithp at keithp.com>
> 
> v2: also avoid using protocol-versions.h

Tested-by: Knut Petersen <Knut_Petersen at t-online.de>
Reviewed-by: Julien Cristau <jcristau at debian.org>

Cheers,
Julien


More information about the xorg-devel mailing list