os: Explicitly include X11/Xmd.h for CARD32 definition to fix building on i686

Noticed this after trying to update to xorg-server-xwayland-24.1.0 in void linux https://github.com/void-linux/void-packages/pull/50457

Signed-off-by: Fotios Valasiadis <fvalasiad@gmail.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1561>
This commit is contained in:
Fotios Valasiadis 2024-05-23 01:58:17 +03:00 committed by Fotios Valasiadis
parent b9754729e1
commit af6180b2c9

View File

@ -60,6 +60,7 @@ SOFTWARE.
#include <limits.h>
#include <stddef.h>
#include <X11/Xos.h>
#include <X11/Xmd.h>
/* If EAGAIN and EWOULDBLOCK are distinct errno values, then we check errno
* for both EAGAIN and EWOULDBLOCK, because some supposedly POSIX