diff --git a/src/global.h b/src/global.h index 6f13703c211e006d82e0e95ec3dfd47115a2617f..2e8eb850925b2d8b8fe63a3b82e08f386cf6b30e 100644 --- a/src/global.h +++ b/src/global.h @@ -6,6 +6,11 @@ #ifndef GLOBAL_H #define GLOBAL_H +#ifndef _LARGEFILE_SOURCE +# define _FILE_OFFSET_BITS 64 +# define _LARGEFILE_SOURCE +#endif + /* * Some structure forward declarations are needed. */