mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 06:22:34 +08:00
include/nuttx/rptun/rptun.h: openamp/open_amp.h must not be included unless CONFIG_RPTUN (and heance CONFIG_OPENAMP) are selected.
This commit is contained in:
committed by
Gregory Nutt
parent
3480f7a0bc
commit
182c55635d
@@ -42,13 +42,13 @@
|
|||||||
|
|
||||||
#include <nuttx/config.h>
|
#include <nuttx/config.h>
|
||||||
|
|
||||||
|
#ifdef CONFIG_RPTUN
|
||||||
|
|
||||||
#include <nuttx/fs/ioctl.h>
|
#include <nuttx/fs/ioctl.h>
|
||||||
#include <openamp/open_amp.h>
|
#include <openamp/open_amp.h>
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#ifdef CONFIG_RPTUN
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|||||||
Reference in New Issue
Block a user