diff options
author | Gleb Popov <6yearold@gmail.com> | 2019-05-05 18:10:25 +0400 |
---|---|---|
committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2019-05-06 10:51:27 +0100 |
commit | 27781b6335b9c139dc6cacf5e206289c0fec7c54 (patch) | |
tree | cb283aba622675945a46ae97fccbb3c2dbf6cf8a /runtime/POSIX | |
parent | fd8ec5c7322cfd68774dc2125323bb6f9283c8da (diff) | |
download | klee-27781b6335b9c139dc6cacf5e206289c0fec7c54.tar.gz |
Fix build of POSIX runtime on FreeBSD i386.
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 |