Xnest: XNGC.h: add missing includes

This header makes use of types and functions defined in gcstruct.h and
privates.h. It should include them, instead of demanding it's consumers
having done that before including this file.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1659>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-08-01 11:52:48 +02:00 committed by Marge Bot
parent eafd687c47
commit 4db1da86fc

View File

@ -17,6 +17,9 @@ is" without express or implied warranty.
#include <X11/Xdefs.h> #include <X11/Xdefs.h>
#include "include/gcstruct.h"
#include "include/privates.h"
/* This file uses the GC definition form Xlib.h as XlibGC. */ /* This file uses the GC definition form Xlib.h as XlibGC. */
typedef struct { typedef struct {