Use sys/sysmacros.h, if available, for minor() and major()

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2022-05-01 20:50:17 +02:00
parent 38885aaa67
commit 1015124530
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -35,6 +35,9 @@
#include <sys/mount.h>
#include <sys/stat.h> /* umask(), mkdir() */
#include <sys/wait.h>
#ifdef HAVE_SYS_SYSMACROS_H
#include <sys/sysmacros.h>
#endif
#ifdef _LIBITE_LITE
# include <libite/lite.h>
#else