summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2024-05-06 11:51:46 +0200
committerEnrico Weigelt, metux IT consult <info@metux.net>2024-05-07 16:05:19 +0200
commitdb913d0f145e0a1dd774ffe93b0ca26d65f46b3e (patch)
tree522059119948528e6ea8bbf2e6e01345ecc4eb4a
parent68de489ec6c2fb6f8cfc47b0bba7edd0f9942f17 (diff)
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>
-rw-r--r--include/X11/extensions/recordproto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/X11/extensions/recordproto.h b/include/X11/extensions/recordproto.h
index d2016eb..22a6cd9 100644
--- a/include/X11/extensions/recordproto.h
+++ b/include/X11/extensions/recordproto.h
@@ -21,6 +21,7 @@
#ifndef _RECORDPROTO_H_
#define _RECORDPROTO_H_
+#include <X11/Xmd.h>
#include <X11/extensions/recordconst.h>
/* only difference between 1.12 and 1.13 is byte order of device events,