os: xdmcp: fix missing include of <X11/Xdmcp.h>

xdmcp.h is using types from <X11/Xdmcp.h>, 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 <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-07-28 11:57:50 +02:00
committed by Enrico Weigelt
parent 61017cf734
commit 879bc0012d
2 changed files with 2 additions and 4 deletions

View File

@@ -50,10 +50,6 @@ SOFTWARE.
#include <X11/Xdefs.h>
#if defined(XDMCP) || defined(HASXDMAUTH)
#include <X11/Xdmcp.h>
#endif
#include <limits.h>
#include <stddef.h>
#include <X11/Xos.h>

View File

@@ -1,6 +1,8 @@
#ifndef _XSERVER_OS_XDMCP_H
#define _XSERVER_OS_XDMCP_H
#include <X11/Xdmcp.h>
#include "osdep.h"
typedef Bool (*ValidatorFunc) (ARRAY8Ptr Auth, ARRAY8Ptr Data, int packet_type);