gallium: Fix mismatched ifdef-guards
[mesa.git] / src / gallium / auxiliary / target-helpers / inline_debug_helper.h
index 66d46de888b954233b285cba5bbadce5a5da9f5e..08aea33071038f5c8d7da73824bbe78ff52fb41e 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.
@@ -34,4 +38,8 @@ debug_screen_wrap(struct pipe_screen *screen)
    return screen;
 }
 
+#ifdef __cplusplus
+}
 #endif
+
+#endif // INLINE_DEBUG_HELPER_H