diff options
author | kientzle <kientzle@FreeBSD.org> | 2006-07-30 18:34:40 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2006-07-30 18:34:40 +0000 |
commit | 3e01f8e05a4870946d790e1c241e5a6ec827a58c (patch) | |
tree | 1e2c568ef1d1bcb9ca66e120d8111eea7542dc2d /usr.bin/tar | |
parent | 5badabe37cbbd31630bd5b8cc6ecc235218b34ee (diff) | |
download | FreeBSD-src-3e01f8e05a4870946d790e1c241e5a6ec827a58c.zip FreeBSD-src-3e01f8e05a4870946d790e1c241e5a6ec827a58c.tar.gz |
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
Diffstat (limited to 'usr.bin/tar')
-rw-r--r-- | usr.bin/tar/read.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/tar/read.c b/usr.bin/tar/read.c index ea677fe..56a87f8 100644 --- a/usr.bin/tar/read.c +++ b/usr.bin/tar/read.c @@ -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> |