From da8de6b757db29e440ec086a8dc8855c5d121eae Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Fri, 27 Jul 2018 20:09:37 +0000 Subject: gallium/auxiliary: Extern "c" fixes. Used by C++ code such as Haiku's renderer. Reviewed-by: Brian Paul --- src/gallium/auxiliary/driver_ddebug/dd_public.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/gallium/auxiliary/driver_ddebug') diff --git a/src/gallium/auxiliary/driver_ddebug/dd_public.h b/src/gallium/auxiliary/driver_ddebug/dd_public.h index e6607655753..31c139d6a17 100644 --- a/src/gallium/auxiliary/driver_ddebug/dd_public.h +++ b/src/gallium/auxiliary/driver_ddebug/dd_public.h @@ -30,7 +30,15 @@ struct pipe_screen; +#ifdef __cplusplus +extern "C" { +#endif + struct pipe_screen * ddebug_screen_create(struct pipe_screen *screen); +#ifdef __cplusplus +} +#endif + #endif /* DD_PUBLIC_H_ */ -- cgit v1.2.3