diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-07-23 14:19:44 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-07-23 15:44:21 +0100 |
commit | dcf9ce4a9f16c01f58797e4f899d51e23506aa6c (patch) | |
tree | 548a61720e5cdabf08c5cd21adc6138f742e450c /src/intel_module.c | |
parent | 1c5e20716f192f0c38b4edd879d28e11126f7f01 (diff) |
Fix compile failure on old Xorg with XF86_ALLOCATE_GPU_SCREEN
Sigh, a late fix was not compile checked against xorg-1.7.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/intel_module.c')
-rw-r--r-- | src/intel_module.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/intel_module.c b/src/intel_module.c index 969f2a7f..d6a0d3c5 100644 --- a/src/intel_module.c +++ b/src/intel_module.c @@ -50,6 +50,10 @@ #include <xf86platformBus.h> #endif +#ifndef XF86_ALLOCATE_GPU_SCREEN +#define XF86_ALLOCATE_GPU_SCREEN 0 +#endif + static const struct intel_device_info intel_generic_info = { .gen = -1, }; |