From ffaf5a42cd5a9d6fca7ae49d12d114f42664259d Mon Sep 17 00:00:00 2001 From: maxice8 Date: Wed, 11 Oct 2017 23:37:35 -0300 Subject: [PATCH] simplify sys/types.h inclusion - Remove the musl specific inclusion, there is no harm in adding it on glibc - remove from the *BSD nest and make it included in all cases --- nnn.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/nnn.c b/nnn.c index 96125308..f67bcc3e 100644 --- a/nnn.c +++ b/nnn.c @@ -23,15 +23,11 @@ #endif #include #define LINUX_INOTIFY -#if !defined(__GLIBC__) -#include -#endif #endif #include #include #include #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) -# include #include #include #define BSD_KQUEUE @@ -72,6 +68,7 @@ #include #include #include +#include #include #include #include