From 5351dc1522bc2b647bbe3dd09ec2c8e77608b3c7 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Tue, 24 Nov 2015 16:29:23 +0000 Subject: i915: limit extern "C" hack only for libdrm headers Signed-off-by: Emil Velikov --- src/mesa/drivers/dri/i915/intel_context.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'src/mesa/drivers/dri/i915') diff --git a/src/mesa/drivers/dri/i915/intel_context.h b/src/mesa/drivers/dri/i915/intel_context.h index aecd7c23f45..39b328a3f3e 100644 --- a/src/mesa/drivers/dri/i915/intel_context.h +++ b/src/mesa/drivers/dri/i915/intel_context.h @@ -40,17 +40,16 @@ extern "C" { #define virtual virt #endif -#include "drm.h" -#include "intel_bufmgr.h" - -#include "intel_screen.h" -#include "intel_tex_obj.h" -#include "i915_drm.h" - +#include +#include +#include #ifdef __cplusplus #undef virtual #endif +#include "intel_screen.h" +#include "intel_tex_obj.h" + #include "tnl/t_vertex.h" #define TAG(x) intel##x -- cgit v1.2.3