Re: [PATCH 1 of 2] make major and minor available on Solaris

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 17, 2011 at 10:00:34PM +0100, Fabian Groffen wrote:
> major and minor are defined by sys/mkdev.h on Solaris
> 
> Signed-off-by: Fabian Groffen <grobian@xxxxxxxxxx>
> 
> diff --git a/shlibs/blkid/src/partitions/partitions.c b/shlibs/blkid/src/partitions/partitions.c
> --- a/shlibs/blkid/src/partitions/partitions.c
> +++ b/shlibs/blkid/src/partitions/partitions.c
> @@ -14,6 +14,9 @@
>  #include <fcntl.h>
>  #include <ctype.h>
>  #include <sys/types.h>
> +#if HAVE_SYS_MKDEV_H
> +#include <sys/mkdev.h>
> +#endif

 What about to include <sys/mkdev.h> from include/blkdev.h to make it
 available in all places in the package?

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux