summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-11-24 16:29:23 +0000
committerEmil Velikov <[email protected]>2016-03-09 17:16:51 +0000
commit5351dc1522bc2b647bbe3dd09ec2c8e77608b3c7 (patch)
tree7fe5eb4529d1cb36638f2bd7b6bc7e050760b25e /src
parentcf215d92f624116fa951ef6ea740b519822e7872 (diff)
i915: limit extern "C" hack only for libdrm headers
Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i915/intel_context.h13
1 files changed, 6 insertions, 7 deletions
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 <drm.h>
+#include <intel_bufmgr.h>
+#include <i915_drm.h>
#ifdef __cplusplus
#undef virtual
#endif
+#include "intel_screen.h"
+#include "intel_tex_obj.h"
+
#include "tnl/t_vertex.h"
#define TAG(x) intel##x