Commit 30a20138 authored by Adam Jackson's avatar Adam Jackson 💣

randrproto: Fix missing #undef RRLease

clang did not like this, and it's hard to blame it:

../randr/randrstr.h:66:13: warning: redefinition of typedef 'CARD32' is a C11 feature [-Wtypedef-redefinition]
typedef XID RRLease;
            ^
/opt/X11/include/X11/extensions/randrproto.h:53:17: note: expanded from macro 'RRLease'
                ^
/opt/X11/include/X11/Xmd.h:111:23: note: previous definition is here
typedef unsigned long CARD32;
Signed-off-by: Adam Jackson's avatarAdam Jackson <ajax@redhat.com>
parent 702d2eae
......@@ -1126,6 +1126,7 @@ typedef struct {
} xRRDeleteMonitorReq;
#define sz_xRRDeleteMonitorReq 12
#undef RRLease
#undef RRModeFlags
#undef RRCrtc
#undef RRMode
......
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