xext: Fix shmint.h to not use headers outside of sdk_HEADERS
authorKeith Packard <keithp@keithp.com>
Tue, 12 Nov 2013 22:01:45 +0000 (07:01 +0900)
committerKeith Packard <keithp@keithp.com>
Thu, 14 Nov 2013 01:22:15 +0000 (10:22 +0900)
commit9309d2a009a6a3b6090fc377fc7a3eded1a34dc0
tree25600a1972ad6d84283c058c7f4a5599090c21be
parent4a251f5883b042cd902c192060a0be2b11148f2b
xext: Fix shmint.h to not use headers outside of sdk_HEADERS

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@debian.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
Tested-by: Knut Petersen <Knut_Petersen@t-online.de>
Reviewed-by: Julien Cristau <jcristau@debian.org>
v2: also avoid using protocol-versions.h
Xext/shm.c
Xext/shmint.h
include/Makefile.am