From 0f77a30b229616fbb7500f8a751f77ad9e3363f2 Mon Sep 17 00:00:00 2001 From: buyuer Date: Tue, 6 Jul 2021 15:16:44 +0800 Subject: [PATCH] Add include header file to rpmsg.h. When use netpacket/rpmsg.h,the compiler prompt that sa_family_t is not defined. Signed-off-by: buyuer --- include/netpacket/rpmsg.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/netpacket/rpmsg.h b/include/netpacket/rpmsg.h index 1dfd47dfb3..d422b2100d 100644 --- a/include/netpacket/rpmsg.h +++ b/include/netpacket/rpmsg.h @@ -21,6 +21,12 @@ #ifndef __INCLUDE_NETPACKET_RPMSG_H #define __INCLUDE_NETPACKET_RPMSG_H +/**************************************************************************** + * Included Files + ****************************************************************************/ + +#include + /**************************************************************************** * Pre-processor Definitions ****************************************************************************/