Xnest: add guards to Xnest.h

protect it from duplicate inclusion.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1658>
(cherry picked from commit eafd687c47)
This commit is contained in:
Enrico Weigelt, metux IT consult
2024-07-30 15:39:19 +02:00
committed by Alan Coopersmith
parent baa2aca9e2
commit 0356e5e7e8

View File

@@ -27,6 +27,8 @@ other dealings in this Software without prior written authorization
from the X Consortium.
*/
#ifndef _XORG_XNEST_H
#define _XORG_XNEST_H
/*
** Machines with a 64 bit library interface and a 32 bit server require
@@ -88,3 +90,5 @@ typedef XID KeySym64;
#undef GContext
#undef KeySym
#endif /*_XSERVER64_tmp*/
#endif /* _XORG_XNEST_H */