summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/rbug/rbug_public.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/rbug/rbug_public.h')
-rw-r--r--src/gallium/drivers/rbug/rbug_public.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/drivers/rbug/rbug_public.h b/src/gallium/drivers/rbug/rbug_public.h
index b66740b49cd..83f9c94e31f 100644
--- a/src/gallium/drivers/rbug/rbug_public.h
+++ b/src/gallium/drivers/rbug/rbug_public.h
@@ -28,6 +28,10 @@
#ifndef RBUG_PUBLIC_H
#define RBUG_PUBLIC_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct pipe_screen;
struct pipe_context;
@@ -37,4 +41,8 @@ rbug_screen_create(struct pipe_screen *screen);
boolean
rbug_enabled(void);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* RBUG_PUBLIC_H */