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:
Alin Jerpelea 2019-11-04 07:15:06 -06:00 committed by Gregory Nutt
parent 3480f7a0bc
commit 182c55635d
1 changed files with 2 additions and 2 deletions

View File

@ -42,13 +42,13 @@
#include <nuttx/config.h>
#ifdef CONFIG_RPTUN
#include <nuttx/fs/ioctl.h>
#include <openamp/open_amp.h>
#include <string.h>
#ifdef CONFIG_RPTUN
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/