OSDN Git Service

Fix redefinition building error (blueprint)
authorMauro Rossi <issor.oruam@gmail.com>
Sat, 25 Jan 2020 16:34:16 +0000 (17:34 +0100)
committerMauro Rossi <issor.oruam@gmail.com>
Sat, 25 Jan 2020 20:35:42 +0000 (21:35 +0100)
commit30795969d6e62a196bf2c25cf80c5b7d451fe1f5
treec0b673e24f3663e1f9cf72015bfdddc90dc569ef
parentb0f67fd6ffc6122a78d4e520022c8a356cc0a9c8
Fix redefinition building error (blueprint)

Fixes the following building errors:

In file included from external/minigbm/amdgpu.c:16:
In file included from external/minigbm/dri.h:13:
external/mesa/include/GL/internal/dri_interface.h:46:22: error: redefinition of typedef 'drm_context_t' is a C11 feature [-Werror,-Wtypedef-redefinition]
typedef unsigned int drm_context_t;
                     ^
external/libdrm/include/drm/drm.h:77:22: note: previous definition is here
typedef unsigned int drm_context_t;
                     ^
Android.bp