0
0
mirror of https://github.com/openwrt/packages.git synced 2025-02-07 09:19:51 +00:00
packages/net/apinger/patches/020-gcc10.patch
Rosen Penev ef646f2a70 apinger: fix compilation with GCC 10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-17 20:35:34 -07:00

12 lines
204 B
Diff

--- a/src/apinger.h
+++ b/src/apinger.h
@@ -111,7 +111,7 @@ struct piped_info {
};
#endif
-struct target *targets;
+extern struct target *targets;
extern int foreground;
extern char *config_file;