i915: limit extern "C" hack only for libdrm headers
authorEmil Velikov <emil.velikov@collabora.com>
Tue, 24 Nov 2015 16:29:23 +0000 (16:29 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 9 Mar 2016 17:16:51 +0000 (17:16 +0000)
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
src/mesa/drivers/dri/i915/intel_context.h

index aecd7c23f451ed8e291286a513b2c8c3c76c9d7c..39b328a3f3ede92a1264c9900573099f85830a42 100644 (file)
@@ -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