mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-16 02:40:29 +01:00
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>
(cherry picked from commit 1bdbe1cb3f)
This commit is contained in:
parent
19350a4b3a
commit
0d3481defe
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue