From 362fd8ce78abe0115788b327eb16f4f9751506e7 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Tue, 20 Nov 2018 18:29:09 +0530 Subject: [PATCH] Define S_BLKSIZE if not defined --- src/nnn.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/nnn.c b/src/nnn.c index ac480480..6898bb86 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -90,6 +90,10 @@ #include #include +#ifndef S_BLKSIZE +#define S_BLKSIZE 512 /* S_BLKSIZE is missing on Android NDK (Termux) */ +#endif + #include "nnn.h" #ifdef DEBUGMODE