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
1 changed files with 3 additions and 0 deletions

3
nnn.c
View File

@ -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>