summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rtl/unix/oscdeclh.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtl/unix/oscdeclh.inc b/rtl/unix/oscdeclh.inc
index bde5200517..6fb0f8b3af 100644
--- a/rtl/unix/oscdeclh.inc
+++ b/rtl/unix/oscdeclh.inc
@@ -83,7 +83,7 @@ const
function FpExecve (path : pchar; argv : ppchar; envp: ppchar): cint; cdecl; external clib name 'execve';
function FpExecv (path : pchar; argv : ppchar): cint; cdecl; external clib name 'execv';
function FpWaitpid (pid : TPid; stat_loc : pcint; options: cint): TPid; cdecl; external clib name 'waitpid';
- Function FpWait (var stat_loc : cInt): TPid; cdecl; external clib name 'waitpid';
+ Function FpWait (var stat_loc : cInt): TPid; cdecl; external clib name 'wait';
procedure FpExit (status : cint); cdecl; external clib name '_exit';
Function FpKill (pid : TPid; sig: cInt): cInt; cdecl; external clib name 'kill';
function FpUname (var name: utsname): cint; cdecl; external clib name 'uname';