From 879bc0012d329ff5faa336e077a6e3ac4ac2c07b Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Mon, 28 Jul 2025 11:57:50 +0200 Subject: [PATCH] os: xdmcp: fix missing include of xdmcp.h is using types from , but forgot to include it. This just popped up with building w/ -Dxdmcp=false, because that file was included in the wrong place (osdep.h) and only conditionally. Signed-off-by: Enrico Weigelt, metux IT consult --- os/osdep.h | 4 ---- os/xdmcp.h | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/os/osdep.h b/os/osdep.h index 49661c4864..a7dc13cf3a 100644 --- a/os/osdep.h +++ b/os/osdep.h @@ -50,10 +50,6 @@ SOFTWARE. #include -#if defined(XDMCP) || defined(HASXDMAUTH) -#include -#endif - #include #include #include diff --git a/os/xdmcp.h b/os/xdmcp.h index 8e14396e1e..7288162845 100644 --- a/os/xdmcp.h +++ b/os/xdmcp.h @@ -1,6 +1,8 @@ #ifndef _XSERVER_OS_XDMCP_H #define _XSERVER_OS_XDMCP_H +#include + #include "osdep.h" typedef Bool (*ValidatorFunc) (ARRAY8Ptr Auth, ARRAY8Ptr Data, int packet_type);