mirror of
https://github.com/OpenAMP/open-amp.git
synced 2026-10-02 18:23:21 +08:00
Add missing include with EINVAL definition
Fixes open-amp compilation with Vitis 2023.2 due to undeclared EINVAL. Signed-off-by: Taras Zaporozhets <zaporozhets.taras@gmail.com>
This commit is contained in:
committed by
Arnaud Pouliquen
parent
34f9a7c7be
commit
88ab928c44
@@ -5,6 +5,7 @@
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <errno.h>
|
||||
#include <openamp/rpmsg_rpc_client_server.h>
|
||||
|
||||
static int rpmsg_endpoint_client_cb(struct rpmsg_endpoint *, void *, size_t,
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <errno.h>
|
||||
#include <openamp/rpmsg_rpc_client_server.h>
|
||||
|
||||
#define LPERROR(format, ...) metal_log(METAL_LOG_ERROR, format, ##__VA_ARGS__)
|
||||
|
||||
Reference in New Issue
Block a user