2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-08-22 14:06:19 +00:00
repo/testing/chromium/patches/musl-syscall.patch
2019-07-28 18:49:11 +03:00

19 lines
583 B
Diff

diff --git chromium-69.0.3497.100/third_party/lss/linux_syscall_support.h
index 5d9c2e8..2682349 100644
--- chromium-69.0.3497.100/third_party/lss/linux_syscall_support.h
+++ chromium-69.0.3497.100/third_party/lss/linux_syscall_support.h
@@ -166,6 +166,13 @@ extern "C" {
# undef __NR_waitpid
#endif
+#ifdef pread64
+#undef pread64
+#endif
+#ifdef pwrite64
+#undef pwrite64
+#endif
+
/* As glibc often provides subtly incompatible data structures (and implicit
* wrapper functions that convert them), we provide our own kernel data
* structures for use by the system calls.