X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fglx%2Findirect_init.h;h=7fe9a96495d9ba773295acd9b313deab23433d2e;hb=db90c8627c41486056aeef9883ef0e4a5f245441;hp=72255f13014b3b22ba24249980c33d12a676ff43;hpb=653a83445f94620673f747a4ace6847a2c7fdb4d;p=mesa.git diff --git a/src/glx/indirect_init.h b/src/glx/indirect_init.h index 72255f13014..7fe9a96495d 100644 --- a/src/glx/indirect_init.h +++ b/src/glx/indirect_init.h @@ -36,6 +36,14 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include "glxclient.h" -extern __GLapi *__glXNewIndirectAPI(void); +#ifdef __cplusplus +extern "C" { +#endif + +extern struct _glapi_table *__glXNewIndirectAPI(void); + +#ifdef __cplusplus +} // extern "C" +#endif #endif /* _INDIRECT_INIT_H_ */