1Upstream-Status: Pending 2 3--- a/storage/connect/os.h 4+++ b/storage/connect/os.h 5@@ -2,13 +2,15 @@ 6 #ifndef _OS_H_INCLUDED 7 #define _OS_H_INCLUDED 8 9-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(__APPLE__) 10+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(__APPLE__) || (defined(__linux__) && !defined(__GLIBC__)) 11 typedef off_t off64_t; 12 #define lseek64(fd, offset, whence) lseek((fd), (offset), (whence)) 13 #define open64(path, flags, mode) open((path), (flags), (mode)) 14 #define ftruncate64(fd, length) ftruncate((fd), (length)) 15+#ifndef O_LARGEFILE 16 #define O_LARGEFILE 0 17 #endif 18+#endif 19 20 #ifdef _AIX 21 #ifndef O_LARGEFILE 22