diff --git a/debugger/fpgdbmidebugger.pp b/debugger/fpgdbmidebugger.pp index 63dedac13d..d8614929d8 100644 --- a/debugger/fpgdbmidebugger.pp +++ b/debugger/fpgdbmidebugger.pp @@ -9,7 +9,10 @@ unit FpGdbmiDebugger; interface uses - Classes, windows, sysutils, math, FpdMemoryTools, FpDbgInfo, FpDbgClasses, GDBMIDebugger, + {$IFdef WithWinMemReader} + windows, + {$ENDIF} + Classes, sysutils, math, FpdMemoryTools, FpDbgInfo, FpDbgClasses, GDBMIDebugger, BaseDebugManager, DbgIntfBaseTypes, DbgIntfDebuggerBase, Debugger, GDBMIMiscClasses, GDBTypeInfo, maps, LCLProc, Forms, FpDbgLoader, FpDbgDwarf, FpDbgDwarfConst, LazLoggerBase, LazLoggerProfiling, LazClasses, FpPascalParser, FpPascalBuilder;