summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/r300/r300_public.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_public.h b/src/gallium/drivers/r300/r300_public.h
index b6059203ff1..57a69cb7c9f 100644
--- a/src/gallium/drivers/r300/r300_public.h
+++ b/src/gallium/drivers/r300/r300_public.h
@@ -2,8 +2,16 @@
#ifndef R300_PUBLIC_H
#define R300_PUBLIC_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct radeon_winsys;
struct pipe_screen* r300_screen_create(struct radeon_winsys *rws);
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
#endif