summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorAlexander von Gluck IV <[email protected]>2015-05-14 17:27:14 -0500
committerAlexander von Gluck IV <[email protected]>2015-05-15 13:55:59 -0400
commit73aef2d1d8a0fe417df1ab4a35029be74891ee37 (patch)
tree7e431a97f2f838c41e18921515d103562ddccd55 /src/gallium/winsys
parent624b38add99c21e2deb2029b157e92c3f0e7cdd4 (diff)
winsys/hgl: Add needed extern "C" to hgl winsys
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r--src/gallium/winsys/sw/hgl/hgl_sw_winsys.h7
1 files changed, 7 insertions, 0 deletions
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