summaryrefslogtreecommitdiffstats
path: root/src/glx/indirect_init.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/indirect_init.h')
-rw-r--r--src/glx/indirect_init.h8
1 files changed, 8 insertions, 0 deletions
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_ */