From 182c55635d8789dfa28c203f52fdaf5dc486d977 Mon Sep 17 00:00:00 2001 From: Alin Jerpelea Date: Mon, 4 Nov 2019 07:15:06 -0600 Subject: [PATCH] include/nuttx/rptun/rptun.h: openamp/open_amp.h must not be included unless CONFIG_RPTUN (and heance CONFIG_OPENAMP) are selected. --- include/nuttx/rptun/rptun.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/nuttx/rptun/rptun.h b/include/nuttx/rptun/rptun.h index 0fdd61d95f1..160595cf166 100644 --- a/include/nuttx/rptun/rptun.h +++ b/include/nuttx/rptun/rptun.h @@ -42,13 +42,13 @@ #include +#ifdef CONFIG_RPTUN + #include #include #include -#ifdef CONFIG_RPTUN - /**************************************************************************** * Pre-processor Definitions ****************************************************************************/