[klibc] fcntl: Fix struct flock for 32-bit architectures

In Linux 2.6.30 the definition of struct flock stopped using
off_t (which we define) in favour of __kernel_off_t.  This
meant we started using a 32-bit struct flock with 64-bit fcntl

Disable the kernel's definition of struct flock and define
it ourselves with 64-bit offsets.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
1 file changed