]> Sergey Matveev's repositories - nnn.git/commitdiff
Fix #42
authorArun Prakash Jana <engineerarun@gmail.com>
Sun, 24 Sep 2017 17:58:27 +0000 (23:28 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sun, 24 Sep 2017 18:16:34 +0000 (23:46 +0530)
nnn.c

diff --git a/nnn.c b/nnn.c
index 8eda2b37d8ff0369a490702afa870bad5f8694e1..eb26ab6e2733a6b33fa8146c65998c73a1b33bc1 100644 (file)
--- a/nnn.c
+++ b/nnn.c
@@ -18,6 +18,9 @@
  */
 
 #ifdef __linux__
+#ifdef __i386__
+#define _FILE_OFFSET_BITS 64 /* Support large files on 32-bit Linux */
+#endif
 #include <sys/inotify.h>
 #define LINUX_INOTIFY
 #endif