diff options
author | 2019-11-13 14:37:39 +1300 | |
---|---|---|
committer | 2019-11-28 09:56:15 +0000 | |
commit | bedc513fc2deddaf1e2724cccf4b11943437e6c9 (patch) | |
tree | 0be2c27d70e4280cd6ab6f4f731e4992f4170f84 /src/vcl/ldp_socket_wrapper.h | |
parent | c48306407b070760a95ad1dbb349845e07dd3231 (diff) |
vcl: Handle newer Glibc (>2.28) where fcntl is actually fcntl64
Glibc 2.28 now provides fcntl64 which is used instead of fcntl
by defining fcntl as fcntl64 in fcntl.h
Type: fix
Change-Id: I87fedfbf3e0d241aafdc920e90f824d71353e0e6
Signed-off-by: Carl Smith <carl.smith@alliedtelesis.co.nz>
(cherry picked from commit e16707b5b2195fda47c1a3db7ba61f30055d2dbc)
Diffstat (limited to 'src/vcl/ldp_socket_wrapper.h')
-rw-r--r-- | src/vcl/ldp_socket_wrapper.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vcl/ldp_socket_wrapper.h b/src/vcl/ldp_socket_wrapper.h index 4121724c10e..b949d97f2f6 100644 --- a/src/vcl/ldp_socket_wrapper.h +++ b/src/vcl/ldp_socket_wrapper.h @@ -131,6 +131,9 @@ DO_NOT_SANITIZE_ADDRESS_ATTRIBUTE int libc_vfcntl (int fd, int cmd, va_list ap); DO_NOT_SANITIZE_ADDRESS_ATTRIBUTE int +libc_vfcntl64 (int fd, int cmd, va_list ap); + +DO_NOT_SANITIZE_ADDRESS_ATTRIBUTE int libc_vioctl (int fd, int cmd, va_list ap); int libc_getpeername (int sockfd, struct sockaddr *addr, socklen_t * addrlen); |