0
0
mirror of https://github.com/openwrt/packages.git synced 2025-02-12 04:38:06 +00:00
packages/libs/libmraa/patches/030-gcc10.patch
Rosen Penev 07d0ee7552 libmraa: fix compilation with GCC10
Taken from an upstream issue.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-07 14:49:05 -08:00

14 lines
233 B
Diff

--- a/include/version.h
+++ b/include/version.h
@@ -11,8 +11,8 @@
extern "C" {
#endif
-const char* gVERSION;
-const char* gVERSION_SHORT;
+extern const char* gVERSION;
+extern const char* gVERSION_SHORT;
#ifdef __cplusplus
}