xorgproto: Branch 'master' - 2 commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Jul 23 20:24:56 UTC 2024


 include/X11/extensions/recordproto.h |    1 +
 include/X11/extensions/securproto.h  |    1 +
 2 files changed, 2 insertions(+)

New commits:
commit 3076552555c32cb89ec20ddef638317f0ea303b9
Author: Enrico Weigelt, metux IT consult <info at metux.net>
Date:   Tue Jul 23 09:23:39 2024 +0200

    securproto.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 at metux.net>
    Part-of: <https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/90>

diff --git a/include/X11/extensions/securproto.h b/include/X11/extensions/securproto.h
index d9e120c..7c68313 100644
--- a/include/X11/extensions/securproto.h
+++ b/include/X11/extensions/securproto.h
@@ -27,6 +27,7 @@ from The Open Group.
 #ifndef _SECURPROTO_H
 #define _SECURPROTO_H
 
+#include <X11/Xmd.h>
 #include <X11/extensions/secur.h>
 
 #define X_SecurityQueryVersion		0
commit db913d0f145e0a1dd774ffe93b0ca26d65f46b3e
Author: Enrico Weigelt, metux IT consult <info at metux.net>
Date:   Mon May 6 11:51:46 2024 +0200

    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 at metux.net>
    Part-of: <https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/90>

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,


More information about the xorg-commit mailing list