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>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-07-30 15:39:19 +02:00 committed by Marge Bot
parent 1bea5ddfce
commit eafd687c47

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 */