aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nnn.c b/src/nnn.c
index ac48048..6898bb8 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -90,6 +90,10 @@
#include <ftw.h>
#include <wchar.h>
+#ifndef S_BLKSIZE
+#define S_BLKSIZE 512 /* S_BLKSIZE is missing on Android NDK (Termux) */
+#endif
+
#include "nnn.h"
#ifdef DEBUGMODE