From e16707b5b2195fda47c1a3db7ba61f30055d2dbc Mon Sep 17 00:00:00 2001 From: Carl Smith Date: Wed, 13 Nov 2019 14:37:39 +1300 Subject: 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 --- src/vcl/ldp_socket_wrapper.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/vcl/ldp_socket_wrapper.h') 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 @@ -130,6 +130,9 @@ int libc_eventfd (int count, int flags); 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); -- cgit 1.2.3-korg