From: Alexander von Gluck IV Date: Thu, 14 May 2015 22:27:14 +0000 (-0500) Subject: winsys/hgl: Add needed extern "C" to hgl winsys X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=73aef2d1d8a0fe417df1ab4a35029be74891ee37;p=mesa.git winsys/hgl: Add needed extern "C" to hgl winsys Reviewed-by: Brian Paul --- diff --git a/src/gallium/winsys/sw/hgl/hgl_sw_winsys.h b/src/gallium/winsys/sw/hgl/hgl_sw_winsys.h index bdcddfb4f2b..a81f890826e 100644 --- a/src/gallium/winsys/sw/hgl/hgl_sw_winsys.h +++ b/src/gallium/winsys/sw/hgl/hgl_sw_winsys.h @@ -27,9 +27,16 @@ #ifndef _HGL_SOFTWAREWINSYS_H #define _HGL_SOFTWAREWINSYS_H +#ifdef __cplusplus +extern "C" { +#endif + struct sw_winsys; struct sw_winsys* hgl_create_sw_winsys(void); +#ifdef __cplusplus +} +#endif #endif