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 committed 2022-05-01 20:50:17 +02:00
1 parent 38885aaa67
commit 1015124530
2 files changed
+4 -1

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ AC_PROG_MKDIR_P
# Configuration.
AC_HEADER_STDC
AC_CHECK_HEADERS([termios.h sys/ioctl.h mntent.h])
AC_CHECK_HEADERS([termios.h sys/ioctl.h mntent.h sys/sysmacros.h])
AC_CHECK_FUNCS([strstr getopt getmntent])
# Check for uint[8,16,32]_t