]> Sergey Matveev's repositories - nnn.git/commitdiff
include sys/types.h for non-glibc linux builds (#46)
authormaxice8 <30738253+maxice8@users.noreply.github.com>
Thu, 5 Oct 2017 07:34:18 +0000 (04:34 -0300)
committerArun Prakash Jana <engineerarun@gmail.com>
Thu, 5 Oct 2017 07:34:18 +0000 (13:04 +0530)
nnn.c

diff --git a/nnn.c b/nnn.c
index e630ebabcc7dba9cdb8edf7bd649dbda36668bee..65c8ff3f745418faf217a176e36b61a4ddba6ac7 100644 (file)
--- 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>