Browse Source

Define S_BLKSIZE if not defined

master
Arun Prakash Jana 6 years ago
parent
commit
362fd8ce78
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      src/nnn.c

+ 4
- 0
src/nnn.c 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


Loading…
Cancel
Save