From d96fe985916c610c64a002c83be320bccb92156b Mon Sep 17 00:00:00 2001 From: wangyongrong Date: Wed, 24 Apr 2024 10:20:52 +0800 Subject: [PATCH] =?UTF-8?q?nuttx/rpmsg=5Fvirtio.c:=20fix=20invalid=20use?= =?UTF-8?q?=20of=20undefined=20type=20=E2=80=98struct=20rpmsg=5Fhdr?= =?UTF-8?q?=E2=80=99=20err?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit rpmsg/rpmsg_virtio.c:320:49: error: invalid use of undefined type ‘struct rpmsg_hdr’ 320 | rx ? hdr->dst : hdr->src); Signed-off-by: wangyongrong --- drivers/rpmsg/rpmsg_virtio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/rpmsg/rpmsg_virtio.c b/drivers/rpmsg/rpmsg_virtio.c index 29d7d04572..d047733b38 100644 --- a/drivers/rpmsg/rpmsg_virtio.c +++ b/drivers/rpmsg/rpmsg_virtio.c @@ -32,6 +32,7 @@ #include #include #include +#include /**************************************************************************** * Pre-processor Definitions