mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-02 03:49:12 +08:00
syslink_bridge: include <cstring> to fix compilation issue
GCC error: error: 'memcpy' was not declared in this scope
This commit is contained in:
@@ -39,6 +39,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "syslink_main.h"
|
#include "syslink_main.h"
|
||||||
|
#include <cstring>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -36,6 +36,8 @@
|
|||||||
|
|
||||||
#include "drv_deck.h"
|
#include "drv_deck.h"
|
||||||
|
|
||||||
|
#include <cstring>
|
||||||
|
|
||||||
|
|
||||||
SyslinkMemory::SyslinkMemory(Syslink *link) :
|
SyslinkMemory::SyslinkMemory(Syslink *link) :
|
||||||
CDev("SyslinkMemory", DECK_DEVICE_PATH),
|
CDev("SyslinkMemory", DECK_DEVICE_PATH),
|
||||||
|
|||||||
Reference in New Issue
Block a user