os: fix missing X11/Xdefs.h include in os/osdep.h

osdep.h needs Bool type, which is defined X11/Xdefs.h.
For now it works, since Xdefs usually is already included somewhere
else, but that's an unreliable programming styles which quickly hits
us when changing include order.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1366>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-03-06 19:52:24 +01:00 committed by Marge Bot
parent 159bb1c33d
commit 1bdbe1cb3f

View File

@ -51,6 +51,8 @@ SOFTWARE.
#ifndef _OSDEP_H_
#define _OSDEP_H_ 1
#include <X11/Xdefs.h>
#if defined(XDMCP) || defined(HASXDMAUTH)
#include <X11/Xdmcp.h>
#endif