X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fglx%2Findirect_init.h;h=7fe9a96495d9ba773295acd9b313deab23433d2e;hb=db90c8627c41486056aeef9883ef0e4a5f245441;hp=2ba01f56c3f35aacdc0a92d6e2b33908ee2a2e85;hpb=1218430e1200a08cd64b6555d3fd1fd0274ad9e5;p=mesa.git diff --git a/src/glx/indirect_init.h b/src/glx/indirect_init.h index 2ba01f56c3f..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" +#ifdef __cplusplus +extern "C" { +#endif + extern struct _glapi_table *__glXNewIndirectAPI(void); +#ifdef __cplusplus +} // extern "C" +#endif + #endif /* _INDIRECT_INIT_H_ */