diff --git a/third_party/lss/linux_syscall_support.h b/third_party/lss/linux_syscall_support.h index 5d9c2e8..2682349 100644 --- a/third_party/lss/linux_syscall_support.h +++ b/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.