Skip to content

Commit

Permalink
Add missing include with EINVAL definition
Browse files Browse the repository at this point in the history
Fixes open-amp compilation with Vitis 2023.2 due to undeclared EINVAL.

Signed-off-by: Taras Zaporozhets <zaporozhets.taras@gmail.com>
  • Loading branch information
zaporozhets authored and arnopo committed Dec 19, 2023
1 parent 34f9a7c commit 88ab928
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/service/rpmsg/rpc/rpmsg_rpc_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions lib/service/rpmsg/rpc/rpmsg_rpc_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -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__)
Expand Down

0 comments on commit 88ab928

Please sign in to comment.