mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 01:50:10 +01:00
i915: limit extern "C" hack only for libdrm headers
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
parent
cf215d92f6
commit
5351dc1522
1 changed files with 6 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue