src/nnn.c | 3 +++ diff --git a/src/nnn.c b/src/nnn.c index 67eb9bcfbf6a63fefa4733fd5df85f3b3497cf62..d3d09478aa1cfcbe99de638faed919e497dd09df 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -29,6 +29,9 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #ifdef __linux__ +#ifndef _GNU_SOURCE +#define _GNU_SOURCE +#endif #if defined(__arm__) || defined(__i386__) #define _FILE_OFFSET_BITS 64 /* Support large files on 32-bit */ #endif