Add include header file <sys/types.h> to rpmsg.h.

When use netpacket/rpmsg.h,the compiler prompt that sa_family_t is not defined.

Signed-off-by: buyuer <dingddding@163.com>
This commit is contained in:
buyuer 2021-07-06 15:16:44 +08:00 committed by Xiang Xiao
parent b901f22c27
commit 0f77a30b22
1 changed files with 6 additions and 0 deletions

View File

@ -21,6 +21,12 @@
#ifndef __INCLUDE_NETPACKET_RPMSG_H
#define __INCLUDE_NETPACKET_RPMSG_H
/****************************************************************************
* Included Files
****************************************************************************/
#include <sys/types.h>
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/