1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-20 01:35:13 +03:00
aports/testing/seamonkey/fix-linux-syscall.patch
2017-02-13 07:49:27 +00:00

16 lines
582 B
Diff

--- seamonkey-2.46/mozilla/toolkit/crashreporter/google-breakpad/src/third_party/lss/linux_syscall_support.h.orig
+++ seamonkey-2.46/mozilla/toolkit/crashreporter/google-breakpad/src/third_party/lss/linux_syscall_support.h
@@ -1506,6 +1506,13 @@
/* End of powerpc defininitions */
#endif
+#ifndef __NR_pread
+#define __NR_pread __NR_pread64
+#endif
+#ifndef __NR_pwrite
+#define __NR_pwrite __NR_pwrite64
+#endif
+
/* After forking, we must make sure to only call system calls. */
#if defined(__BOUNDED_POINTERS__)