From: Arun Prakash Jana Date: Tue, 20 Nov 2018 12:59:09 +0000 (+0530) Subject: Define S_BLKSIZE if not defined X-Git-Tag: v2.1~11 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=362fd8ce78abe0115788b327eb16f4f9751506e7;p=nnn.git Define S_BLKSIZE if not defined --- 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