2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-09-12 15:50:12 +00:00
repo/testing/chromium/patches/musl-syscall.patch

19 lines
583 B
Diff
Raw Normal View History

2019-07-28 15:49:11 +00:00
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.