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
|
@ -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…
Reference in New Issue
Block a user