commit 935fca41f1e0e7fcbcf023f0520b7768e4ad206d
parent 211329f5df8ad4b3d79441697f87ddd24db1e221
Author: maxice8 <30738253+maxice8@users.noreply.github.com>
Date: Thu, 5 Oct 2017 04:34:18 -0300
include sys/types.h for non-glibc linux builds (#46)
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git 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>