Conditionally include sys/mkdev.h on platforms (such as Solaris) that need it.
Thanks to: VMiklos
This commit is contained in:
parent
2ab7aa997e
commit
4dabd2811a
@ -28,6 +28,9 @@
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include <sys/stat.h>
|
||||
#ifdef MAJOR_IN_MKDEV
|
||||
#include <sys/mkdev.h>
|
||||
#endif
|
||||
|
||||
#include <errno.h>
|
||||
/* #include <stdint.h> */ /* See archive_platform.h */
|
||||
|
Loading…
Reference in New Issue
Block a user