From: Brian Paul Date: Mon, 15 Dec 2014 23:49:54 +0000 (-0700) Subject: st/mesa: add extern "C" to st_context.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=44c8957cfe7a77f53dbf21dcad8f43e20b4475ab;p=mesa.git st/mesa: add extern "C" to st_context.h Reviewed-by: Anuj Phogat Reviewed-by: Jose Fonseca --- diff --git a/src/mesa/state_tracker/st_context.h b/src/mesa/state_tracker/st_context.h index 15f9df492db..20d56786444 100644 --- a/src/mesa/state_tracker/st_context.h +++ b/src/mesa/state_tracker/st_context.h @@ -33,6 +33,12 @@ #include "state_tracker/st_api.h" #include "main/fbobject.h" + +#ifdef __cplusplus +extern "C" { +#endif + + struct bitmap_cache; struct dd_function_table; struct draw_context; @@ -278,4 +284,8 @@ extern void st_destroy_context(struct st_context *st); +#ifdef __cplusplus +} +#endif + #endif