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:
parent
b901f22c27
commit
0f77a30b22
|
@ -21,6 +21,12 @@
|
||||||
#ifndef __INCLUDE_NETPACKET_RPMSG_H
|
#ifndef __INCLUDE_NETPACKET_RPMSG_H
|
||||||
#define __INCLUDE_NETPACKET_RPMSG_H
|
#define __INCLUDE_NETPACKET_RPMSG_H
|
||||||
|
|
||||||
|
/****************************************************************************
|
||||||
|
* Included Files
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
Loading…
Reference in New Issue