include sys/types.h for non-glibc linux builds (#46)

This commit is contained in:
maxice8 2017-10-05 04:34:18 -03:00 committed by Arun Prakash Jana
parent 211329f5df
commit 935fca41f1

3
nnn.c
View file

@ -23,6 +23,9 @@
#endif #endif
#include <sys/inotify.h> #include <sys/inotify.h>
#define LINUX_INOTIFY #define LINUX_INOTIFY
#if !defined(__GLIBC__)
#include <sys/types.h>
#endif
#endif #endif
#include <sys/resource.h> #include <sys/resource.h>
#include <sys/stat.h> #include <sys/stat.h>