mirror of
https://github.com/jarun/nnn.git
synced 2025-02-25 18:51:31 +00:00
inotify is available only on Linux
This commit is contained in:
parent
b4b3ee4868
commit
6f7a4f723b
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue