Browse Source

Fix compilation with SUPPORT_REMOTE macro defined

git-svn-id: trunk@38157 -
pierre 7 years ago
parent
commit
1ff69ee0fa
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/ide/fpdebug.pas

+ 2 - 2
packages/ide/fpdebug.pas

@@ -356,7 +356,7 @@ uses
   Windebug,
   Windebug,
 {$endif Windows}
 {$endif Windows}
 {$ifdef Unix}
 {$ifdef Unix}
-  termio,
+  baseunix, unix, termio,
 {$endif Unix}
 {$endif Unix}
   Systems,Globals,
   Systems,Globals,
   FPRegs,FPTools,
   FPRegs,FPTools,
@@ -873,7 +873,7 @@ begin
           s:=TransformRemoteString(RemoteSshExecCommand);
           s:=TransformRemoteString(RemoteSshExecCommand);
           PushStatus(S);
           PushStatus(S);
 {$ifdef Unix}
 {$ifdef Unix}
-          error:=0;
+          ErrorVal:=0;
           { return without waiting for the function to end }
           { return without waiting for the function to end }
           s:= s+' &';
           s:= s+' &';
           If fpsystem(s)=-1 Then
           If fpsystem(s)=-1 Then