gallium/auxiliary: Extern "c" fixes.
[mesa.git] / src / gallium / auxiliary / target-helpers / inline_debug_helper.h
index 66d46de888b954233b285cba5bbadce5a5da9f5e..ef22cac2c3190a0b156c55d81baf36e29cfc11c9 100644 (file)
 #include "driver_rbug/rbug_public.h"
 #include "driver_noop/noop_public.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /*
  * TODO: Audit the following *screen_create() - all of
  * them should return the original screen on failuire.
@@ -35,3 +39,7 @@ debug_screen_wrap(struct pipe_screen *screen)
 }
 
 #endif
+
+#ifdef __cplusplus
+}
+#endif