From 52d71b025d2f45e08ff6110bc79e391f098272c0 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Sun, 25 Feb 2024 11:54:41 +0100 Subject: [PATCH] Fix build with -Dxdmcp=false Signed-off-by: Matthieu Herrb --- os/xdmcp.h | 2 ++ 1 file changed, 2 insertions(+) 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 */