diff --git a/src/platform/qt/GDBController.h b/src/platform/qt/GDBController.h index d15b4d8f1..b1d37fbdb 100644 --- a/src/platform/qt/GDBController.h +++ b/src/platform/qt/GDBController.h @@ -8,6 +8,8 @@ #include +#ifdef USE_GDB_STUB + extern "C" { #include "debugger/gdb-stub.h" } @@ -46,4 +48,7 @@ private: }; } + +#endif + #endif