diff options
author | Dave Airlie <airlied@gmail.com> | 2012-07-13 14:47:40 +1000 |
---|---|---|
committer | Dave Airlie <airlied@gmail.com> | 2012-07-13 14:47:40 +1000 |
commit | e443ede15981549ff5f6b01f42c3cb8dc909d778 (patch) | |
tree | 0d9bca6a6f8e4a0250c65b71a4724788ef71a630 /src/cir.h | |
parent | 46a9e962c6f33509e89d664115a9a2db51c9b67d (diff) |
cirrus: handle server with no XAA
this fixes cirrus to work with a server with no XAA module.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/cir.h')
-rw-r--r-- | src/cir.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -4,7 +4,9 @@ #define CIR_H #include "xf86Cursor.h" +#ifdef HAVE_XAA_H #include "xaa.h" +#endif #include "xf86i2c.h" #include <string.h> #include <stdlib.h> @@ -44,7 +46,9 @@ typedef struct { Bool NoAccel; Bool HWCursor; Bool UseMMIO; +#ifdef HAVE_XAA_H XAAInfoRecPtr AccelInfoRec; +#endif xf86CursorInfoPtr CursorInfoRec; int DGAnumModes; DGAModePtr DGAModes; |