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

While I'm here, correctly alphabetize 't' after 's'.

Thanks to: VMiklos
This commit is contained in:
Tim Kientzle 2006-07-30 18:34:40 +00:00
parent 4dabd2811a
commit 902ce6f035

View File

@ -27,9 +27,12 @@
#include "bsdtar_platform.h"
__FBSDID("$FreeBSD$");
#ifdef MAJOR_IN_MKDEV
#include <sys/mkdev.h>
#endif
#include <sys/param.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <errno.h>
#include <grp.h>