vcl: Handle newer Glibc (>2.28) where fcntl is actually fcntl64 15/23515/2
authorCarl Smith <[email protected]>
Wed, 13 Nov 2019 01:37:39 +0000 (14:37 +1300)
committerAndrew Yourtchenko <[email protected]>
Thu, 28 Nov 2019 09:56:15 +0000 (09:56 +0000)
commitbedc513fc2deddaf1e2724cccf4b11943437e6c9
tree0be2c27d70e4280cd6ab6f4f731e4992f4170f84
parentc48306407b070760a95ad1dbb349845e07dd3231
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 <[email protected]>
(cherry picked from commit e16707b5b2195fda47c1a3db7ba61f30055d2dbc)
src/cmake/syscall.cmake
src/vcl/ldp.c
src/vcl/ldp_socket_wrapper.c
src/vcl/ldp_socket_wrapper.h