mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-29 02:31:18 +00:00
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:
parent
61017cf734
commit
879bc0012d
2 changed files with 2 additions and 4 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue