diff options
Diffstat (limited to 'runtime/POSIX')
-rw-r--r-- | runtime/POSIX/FreeBSD.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/POSIX/FreeBSD.h b/runtime/POSIX/FreeBSD.h index fb3f99bd..ec7ce1ef 100644 --- a/runtime/POSIX/FreeBSD.h +++ b/runtime/POSIX/FreeBSD.h @@ -141,12 +141,15 @@ struct rlimit64; #else #define __NR_stat SYS_freebsd11_stat #endif +#define __NR_stat64 __NR_stat #define __NR_fstat SYS_fstat +#define __NR_fstat64 __NR_fstat #ifdef SYS_lstat #define __NR_lstat SYS_lstat #else #define __NR_lstat SYS_freebsd11_lstat #endif +#define __NR_lstat64 __NR_lstat #define __NR_pathconf SYS_pathconf #define __NR_fpathconf SYS_fpathconf #define __NR_getrlimit SYS_getrlimit @@ -361,6 +364,7 @@ struct rlimit64; #define __NR_lseek SYS_lseek #define __NR_truncate SYS_truncate #define __NR_ftruncate SYS_ftruncate +#define __NR_ftruncate64 __NR_ftruncate #define __NR_thr_kill2 SYS_thr_kill2 #define __NR_shm_open SYS_shm_open #define __NR_shm_unlink SYS_shm_unlink |