xserver: Branch 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Feb 26 17:48:27 UTC 2024


 os/xdmcp.h |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 52d71b025d2f45e08ff6110bc79e391f098272c0
Author: Matthieu Herrb <matthieu at herrb.eu>
Date:   Sun Feb 25 11:54:41 2024 +0100

    Fix build with -Dxdmcp=false
    
    Signed-off-by: Matthieu Herrb <matthieu at herrb.eu>

diff --git a/os/xdmcp.h b/os/xdmcp.h
index e8b1a3c3e..45853c7bd 100644
--- a/os/xdmcp.h
+++ b/os/xdmcp.h
@@ -3,6 +3,7 @@
 
 #include "osdep.h"
 
+#ifdef XDMCP
 /* in xdmcp.c */
 void XdmcpUseMsg(void);
 int XdmcpOptions(int argc, char **argv, int i);
@@ -23,5 +24,6 @@ void XdmcpRegisterAuthentication(const char *name,
 
 struct sockaddr_in;
 void XdmcpRegisterBroadcastAddress(const struct sockaddr_in *addr);
+#endif /* XDMCP */
 
 #endif /* _XSERVER_OS_XDMCP_H */


More information about the xorg-commit mailing list