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:
Taras Zaporozhets
2023-12-19 15:48:59 +01:00
committed by Arnaud Pouliquen
parent 34f9a7c7be
commit 88ab928c44
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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,
+1
View File
@@ -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__)