aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nnn.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/nnn.c b/nnn.c
index e630eba..65c8ff3 100644
--- a/nnn.c
+++ b/nnn.c
@@ -23,6 +23,9 @@
#endif
#include <sys/inotify.h>
#define LINUX_INOTIFY
+#if !defined(__GLIBC__)
+#include <sys/types.h>
+#endif
#endif
#include <sys/resource.h>
#include <sys/stat.h>