aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar maxice8 <30738253+maxice8@users.noreply.github.com>2017-10-05 04:34:18 -0300
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2017-10-05 13:04:18 +0530
commit935fca41f1e0e7fcbcf023f0520b7768e4ad206d (patch)
tree90b624cfff6c7e413e85c66980ba35567fdf761d
parent211329f5df8ad4b3d79441697f87ddd24db1e221 (diff)
downloadnnn-935fca41f1e0e7fcbcf023f0520b7768e4ad206d.tar.gz
include sys/types.h for non-glibc linux builds (#46)
-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>