Compile fix for Xrandr

This commit is contained in:
rdb 2010-01-16 08:48:49 +00:00
parent 34fbafebed
commit a7cd0077b7
2 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,7 @@
// Ugly workaround around the conflicting definition // Ugly workaround around the conflicting definition
// of Connection that randr.h provides. // of Connection that randr.h provides.
#define _RANDR_H_ #define _RANDR_H_
typedef unsigned short Connection;
typedef unsigned short Rotation; typedef unsigned short Rotation;
typedef unsigned short SizeID; typedef unsigned short SizeID;
typedef unsigned short SubpixelOrder; typedef unsigned short SubpixelOrder;

View File

@ -40,6 +40,7 @@
// Ugly workaround around the conflicting definition // Ugly workaround around the conflicting definition
// of Connection that randr.h provides. // of Connection that randr.h provides.
#define _RANDR_H_ #define _RANDR_H_
typedef unsigned short Connection;
typedef unsigned short Rotation; typedef unsigned short Rotation;
typedef unsigned short SizeID; typedef unsigned short SizeID;
typedef unsigned short SubpixelOrder; typedef unsigned short SubpixelOrder;