summarylogtreecommitdiffstats
path: root/gcc10.patch
blob: 5fff30aac590568a879bbd1027e3afd868828370 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/mruby-widget-lib/src/gem.c b/src/mruby-widget-lib/src/gem.c
index 710b673..6563448 100644
--- a/src/mruby-widget-lib/src/gem.c
+++ b/src/mruby-widget-lib/src/gem.c
@@ -290,7 +290,7 @@ mrb_fbo_deselect(mrb_state *mrb, mrb_value self)
     return self;
 }
 
-const struct mrb_data_type mrb_nvg_context_type;
+extern const struct mrb_data_type mrb_nvg_context_type;
 typedef void NVGcontext;
 int nvglCreateImageFromHandleGL2(NVGcontext* ctx, GLuint textureId, int w, int h, int imageFlags);