Commit 43280372 authored by Zhigang Gong's avatar Zhigang Gong

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.
parent 18a52e23
......@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment