nnn

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

commit 6f7a4f723b44d8a6abe4ee9e037da2cc5ca910b6
parent b4b3ee486874a2837a80d89a8891b309b7023b2d
Author: Marco Grunert <marco@grunert.dev>
Date:   Fri, 20 Nov 2020 19:02:26 +0100

inotify is available only on Linux

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

diff --git a/src/nnn.c b/src/nnn.c @@ -35,8 +35,10 @@ #if defined(__arm__) || defined(__i386__) #define _FILE_OFFSET_BITS 64 /* Support large files on 32-bit */ #endif +#if defined(__linux__) #include <sys/inotify.h> #define LINUX_INOTIFY +#endif #if !defined(__GLIBC__) #include <sys/types.h> #endif