winsys/hgl: Add needed extern "C" to hgl winsys
authorAlexander von Gluck IV <kallisti5@unixzen.com>
Thu, 14 May 2015 22:27:14 +0000 (17:27 -0500)
committerAlexander von Gluck IV <kallisti5@unixzen.com>
Fri, 15 May 2015 17:55:59 +0000 (13:55 -0400)
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/winsys/sw/hgl/hgl_sw_winsys.h

index bdcddfb4f2b3234d7c6aee17c5c1b664a92305d1..a81f890826ee1ddb323edff7eb3f2a37fd1c44dd 100644 (file)
 #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