aboutsummaryrefslogtreecommitdiffstats
path: root/testing/seamonkey/fix-linux-syscall.patch
blob: 2a0f2c674a4875c9142ad880b8b0cf0cbbc9e911 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- 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__)