summaryrefslogtreecommitdiff
path: root/lang/fpc/files/patch-rtl-unix_oscdeclh.inc
diff options
context:
space:
mode:
Diffstat (limited to 'lang/fpc/files/patch-rtl-unix_oscdeclh.inc')
-rw-r--r--lang/fpc/files/patch-rtl-unix_oscdeclh.inc11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/fpc/files/patch-rtl-unix_oscdeclh.inc b/lang/fpc/files/patch-rtl-unix_oscdeclh.inc
new file mode 100644
index 000000000000..00b6f0021e10
--- /dev/null
+++ b/lang/fpc/files/patch-rtl-unix_oscdeclh.inc
@@ -0,0 +1,11 @@
+--- rtl/unix/oscdeclh.inc 2022-06-17 00:46:14.261191000 -0500
++++ rtl/unix/oscdeclh.inc 2022-06-17 00:48:10.379917000 -0500
+@@ -50,7 +50,7 @@
+ Function FpChmod (path : pChar; Mode : TMode): cInt; cdecl; external clib name 'chmod';
+ Function FpChown (path : pChar; owner : TUid; group : TGid): cInt; cdecl; external clib name 'chown';
+ Function FPUtime(path:pchar;times:putimbuf):cint; cdecl; external clib name 'utime';
+- Function FpPipe (var fildes : tfildes):cInt; cdecl;external clib name 'pipe';
++ Function FpPipe (var fildes : tfildes; flags:cint):cInt; cdecl;external clib name 'pipe2';
+ function FpDup (oldd:cint):cint; cdecl; external clib name 'dup';
+ function FpDup2 (oldd:cint;newd:cint):cint; cdecl; external clib name 'dup2';
+ function FpTimes (var buffer : tms): TClock; cdecl; external clib name 'times';