Browse Source

Add cint type definition if not declared for syscall unit compilation

git-svn-id: trunk@28832 -
pierre 10 years ago
parent
commit
123b9f789a
1 changed files with 6 additions and 0 deletions
  1. 6 0
      rtl/openbsd/sysnr.inc

+ 6 - 0
rtl/openbsd/sysnr.inc

@@ -316,6 +316,12 @@ Const
 (* 329 *)    syscall_nr___set_tcb = 329;
 (* 330 *)    syscall_nr___get_tcb = 330;
 
+
+{$if not declared (cint) }
+type
+  cint = longint;
+{$endif}
+
 { Aliases }
 var
   syscall_nr_waitpid : cint = syscall_nr_wait4;  // 7, added: ease of notation purposes