From 438bda042a4f24102c93360e5f11a1ea731777af Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 13 May 2017 18:11:42 -0600 Subject: [PATCH] Unitests/nxwm: Change includes because up_cxxinitialize() is now prototypes in apps/include/platfor/cxxinitialize.h --- UnitTests/nxwm/nxwm_main.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/UnitTests/nxwm/nxwm_main.cxx b/UnitTests/nxwm/nxwm_main.cxx index ba47da251..07fa8f464 100644 --- a/UnitTests/nxwm/nxwm_main.cxx +++ b/UnitTests/nxwm/nxwm_main.cxx @@ -38,7 +38,6 @@ ///////////////////////////////////////////////////////////////////////////// #include -#include #include #include @@ -48,6 +47,10 @@ # include "platform/configdata.hr" #endif +#if defined(CONFIG_HAVE_CXX) && defined(CONFIG_HAVE_CXXINITIALIZE) +# include "platform/cxxinitialize.h" +#endif + #include "ctaskbar.hxx" #include "cstartwindow.hxx"