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>
(cherry picked from commit 4db1da86fc)
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-08-01 11:52:48 +02:00 committed by Alan Coopersmith
parent 0356e5e7e8
commit 4117362de1

View file

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