mirror of
https://github.com/openwrt/packages.git
synced 2026-01-10 11:44:48 +00:00
apinger: fix compilation with GCC 10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
11
net/apinger/patches/020-gcc10.patch
Normal file
11
net/apinger/patches/020-gcc10.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- 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;
|
||||
Reference in New Issue
Block a user