recordproto.h: fix missing include of Xmd.h

This header needs a bunch of types defined in Xmd.h. Consumers currently
need to explicitly care about correct include order, which isn't exactly
gently programming style. Instead headers should include anything they
need themselves.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/90>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-05-06 11:51:46 +02:00
parent 68de489ec6
commit db913d0f14

View file

@ -21,6 +21,7 @@
#ifndef _RECORDPROTO_H_ #ifndef _RECORDPROTO_H_
#define _RECORDPROTO_H_ #define _RECORDPROTO_H_
#include <X11/Xmd.h>
#include <X11/extensions/recordconst.h> #include <X11/extensions/recordconst.h>
/* only difference between 1.12 and 1.13 is byte order of device events, /* only difference between 1.12 and 1.13 is byte order of device events,