nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 362fd8ce78abe0115788b327eb16f4f9751506e7
parent 8ae2eed0f3c7489a5e8ea101be4bd363c3e53541
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Tue, 20 Nov 2018 18:29:09 +0530

Define S_BLKSIZE if not defined

Diffstat:
Msrc/nnn.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git 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