xserver: Branch 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Feb 11 14:59:20 UTC 2025


 hw/xfree86/common/xf86Opt.h |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 80a3df55ae070ac6eb99eb7ffdcac862f35322e5
Author: Enrico Weigelt, metux IT consult <info at metux.net>
Date:   Tue Feb 11 10:48:34 2025 +0100

    xfree86: xf86Opt.h: fix missing include
    
    <X11/Xdefs.h> is needed for `Bool` type.
    
    Consumers shouldn't have to rely on Xdefs.h being accidentally included
    by something else.
    
    Signed-off-by: Enrico Weigelt, metux IT consult <info at metux.net>
    Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1782>

diff --git a/hw/xfree86/common/xf86Opt.h b/hw/xfree86/common/xf86Opt.h
index 3046fbd41..e939692cd 100644
--- a/hw/xfree86/common/xf86Opt.h
+++ b/hw/xfree86/common/xf86Opt.h
@@ -1,4 +1,3 @@
-
 /*
  * Copyright (c) 1998-2003 by The XFree86 Project, Inc.
  *
@@ -30,6 +29,9 @@
 
 #ifndef _XF86_OPT_H_
 #define _XF86_OPT_H_
+
+#include <X11/Xdefs.h>
+
 #include "xf86Optionstr.h"
 
 typedef struct {


More information about the xorg-commit mailing list