mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
bandwidthd: fix compilation with GCC10
Added PKG_BUILD_PARALLEL for faster compilation. Fixed license information. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
--- a/bandwidthd.h
|
||||
+++ b/bandwidthd.h
|
||||
@@ -120,7 +120,7 @@ struct config
|
||||
char *sensor_id;
|
||||
};
|
||||
|
||||
-struct SubnetData
|
||||
+extern struct SubnetData
|
||||
{
|
||||
uint32_t ip;
|
||||
uint32_t mask;
|
||||
@@ -139,7 +139,7 @@ struct Statistics
|
||||
unsigned long long p2p;
|
||||
};
|
||||
|
||||
-struct IPData
|
||||
+extern struct IPData
|
||||
{
|
||||
time_t timestamp;
|
||||
uint32_t ip; // Host byte order
|
||||
Reference in New Issue
Block a user