From dcf9ce4a9f16c01f58797e4f899d51e23506aa6c Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 23 Jul 2014 14:19:44 +0000 Subject: 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 --- src/intel_module.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/intel_module.c') 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 #endif +#ifndef XF86_ALLOCATE_GPU_SCREEN +#define XF86_ALLOCATE_GPU_SCREEN 0 +#endif + static const struct intel_device_info intel_generic_info = { .gen = -1, }; -- cgit v1.2.3