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