Conditionally include sys/mkdev.h on platforms (such as Solaris) that need it.

Thanks to: VMiklos
This commit is contained in:
Tim Kientzle 2006-07-30 18:33:20 +00:00
parent 2ab7aa997e
commit 4dabd2811a

View File

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