st/mesa: add extern "C" to st_program.h

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
This commit is contained in:
Brian Paul
2014-12-15 16:46:46 -07:00
parent de42431a9d
commit d260348130

View File

@@ -41,6 +41,11 @@
#include "st_glsl_to_tgsi.h"
#ifdef __cplusplus
extern "C" {
#endif
/** Fragment program variant key */
struct st_fp_variant_key
{
@@ -347,4 +352,8 @@ extern void
st_print_current_vertex_program(void);
#ifdef __cplusplus
}
#endif
#endif