mirror of
https://github.com/novatiq/packages.git
synced 2026-07-31 07:43:06 +01:00
open-plc-utils: fix compilation with GCC10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
--- a/plc/plc.h
|
||||
+++ b/plc/plc.h
|
||||
@@ -498,7 +498,7 @@ struct __packed plcproperty
|
||||
uint8_t DATA_BUFFER [128];
|
||||
}
|
||||
|
||||
-plcproperty;
|
||||
+extern plcproperty;
|
||||
|
||||
#ifndef __GNUC__
|
||||
#pragma pack (pop)
|
||||
Reference in New Issue
Block a user