diff options
-rw-r--r-- | src/drivers/boards/aerocore/aerocore_init.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/drivers/boards/aerocore/aerocore_init.c b/src/drivers/boards/aerocore/aerocore_init.c index 79e3e9e77..4d257d24b 100644 --- a/src/drivers/boards/aerocore/aerocore_init.c +++ b/src/drivers/boards/aerocore/aerocore_init.c @@ -71,6 +71,10 @@ #include <systemlib/cpuload.h> #include <systemlib/perf_counter.h> +#if defined(CONFIG_HAVE_CXX) && defined(CONFIG_HAVE_CXXINITIALIZE) +#include <systemlib/systemlib.h> +#endif + /**************************************************************************** * Pre-Processor Definitions ****************************************************************************/ @@ -110,10 +114,6 @@ __END_DECLS * Protected Functions ****************************************************************************/ -#if defined(CONFIG_HAVE_CXX) && defined(CONFIG_HAVE_CXXINITIALIZE) -__EXPORT extern void up_cxxinitialize(void); -#endif - #if defined(CONFIG_FAT_DMAMEMORY) # if !defined(CONFIG_GRAN) || !defined(CONFIG_FAT_DMAMEMORY) # error microSD DMA support requires CONFIG_GRAN |