From: Kevin Rogovin <kevin.rogo...@intel.com> Signed-off-by: Kevin Rogovin <kevin.rogo...@intel.com> --- src/intel/common/gen_decoder.h | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/src/intel/common/gen_decoder.h b/src/intel/common/gen_decoder.h index 8b00b6edc2..e3b2457dfd 100644 --- a/src/intel/common/gen_decoder.h +++ b/src/intel/common/gen_decoder.h @@ -34,6 +34,10 @@ extern "C" { #endif +#ifdef __cplusplus +extern "C" { +#endif + struct gen_spec; struct gen_group; struct gen_field; @@ -185,6 +189,9 @@ void gen_print_group(FILE *out, struct gen_group *group, uint64_t offset, const uint32_t *p, bool color); +#ifdef __cplusplus +} +#endif #ifdef __cplusplus } -- 2.14.2 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev