diff --git a/include/nuttx/coredump.h b/include/nuttx/coredump.h index 45423d2b94f..a48941b6d62 100644 --- a/include/nuttx/coredump.h +++ b/include/nuttx/coredump.h @@ -32,7 +32,10 @@ #include #include -#include + +#ifdef CONFIG_ARM_COREDUMP_REGION +# include +#endif /**************************************************************************** * Pre-processor Definitions