diff --git a/Tests/kstars_ui/test_ekos_simulator.h b/Tests/kstars_ui/test_ekos_simulator.h --- a/Tests/kstars_ui/test_ekos_simulator.h +++ b/Tests/kstars_ui/test_ekos_simulator.h @@ -68,5 +68,5 @@ void testMountSlew(); }; -#endif +#endif // HAVE_INDI #endif // TESTEKOSSIMULATOR_H diff --git a/Tests/kstars_ui/test_ekos_wizard.h b/Tests/kstars_ui/test_ekos_wizard.h --- a/Tests/kstars_ui/test_ekos_wizard.h +++ b/Tests/kstars_ui/test_ekos_wizard.h @@ -1,6 +1,10 @@ #ifndef TESTEKOSWIZARD_H #define TESTEKOSWIZARD_H +#include "config-kstars.h" + +#ifdef HAVE_INDI + #include class TestEkosWizard : public QObject @@ -17,4 +21,5 @@ }; +#endif // HAVE_INDI #endif // TESTEKOSWIZARD_H