Define S_BLKSIZE if not defined

This commit is contained in:
Arun Prakash Jana 2018-11-20 18:29:09 +05:30
parent 8ae2eed0f3
commit 362fd8ce78
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -90,6 +90,10 @@
#include <ftw.h> #include <ftw.h>
#include <wchar.h> #include <wchar.h>
#ifndef S_BLKSIZE
#define S_BLKSIZE 512 /* S_BLKSIZE is missing on Android NDK (Termux) */
#endif
#include "nnn.h" #include "nnn.h"
#ifdef DEBUGMODE #ifdef DEBUGMODE