projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
swr: add linux to scons build
[mesa.git]
/
src
/
glx
/
indirect_init.h
diff --git
a/src/glx/indirect_init.h
b/src/glx/indirect_init.h
index 72255f13014b3b22ba24249980c33d12a676ff43..7fe9a96495d9ba773295acd9b313deab23433d2e 100644
(file)
--- 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_ */