Tentative fix for major/minor missing

This commit is contained in:
Andrea Mazzoleni 2017-01-04 00:25:56 +01:00
parent a4517949ee
commit 04dfeea107
2 changed files with 7 additions and 0 deletions

View file

@ -198,6 +198,12 @@
#include <sys/types.h>
#endif
#if MAJOR_IN_MKDEV
#include <sys/mkdev.h>
#elif MAJOR_IN_SYSMACROS
#include <sys/sysmacros.h>
#endif
#if HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif