mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 01:48:02 +02:00
glamor-ddx: Fix a compiling error. Need revisit.
GC is redefined in the X11/Xlib.h and include/gcstruct.h which is a xorg header file. Just use a macro to simply avoid the conflict. Need revisit latter to find a correct way to fix this problem.
This commit is contained in:
parent
18a52e2388
commit
4328037268
1 changed files with 2 additions and 0 deletions
|
|
@ -45,7 +45,9 @@
|
|||
#include "../../../mi/micmap.h"
|
||||
#include <xf86Crtc.h>
|
||||
#include <xf86.h>
|
||||
#define GC XORG_GC
|
||||
#include <glamor.h>
|
||||
#undef GC
|
||||
|
||||
#include "glamor_ddx.h"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue