Index: src/OFFile.m ================================================================== --- src/OFFile.m +++ src/OFFile.m @@ -12,10 +12,12 @@ * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #include "config.h" + +#define _LARGEFILE64_SOURCE #include #include #ifdef HAVE_FCNTL_H Index: src/OFFileURLHandler.m ================================================================== --- src/OFFileURLHandler.m +++ src/OFFileURLHandler.m @@ -12,10 +12,12 @@ * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #include "config.h" + +#define _LARGEFILE64_SOURCE #include #include #ifdef HAVE_DIRENT_H