Re: [PATCH 2 of 2] make _IO macros available on Solaris

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

 



On Tue, Jan 18, 2011 at 12:39:31AM +0100, Karel Zak wrote:
> On Mon, Jan 17, 2011 at 10:00:35PM +0100, Fabian Groffen wrote:
> > The _IO macro is defined in sys/ioccom.h on various platforms.  However,
> > on Solaris it isn't included by ioctl.h, so include it explicitly if
> > available.
> > 
> > Signed-off-by: Fabian Groffen <grobian@xxxxxxxxxx>

 Applied, except

> > +#ifdef HAVE_CONFIG_H
> > +#include "config.h"
> > +#endif

 this

> > diff --git a/shlibs/blkid/src/topology/evms.c b/shlibs/blkid/src/topology/evms.c
> > --- a/shlibs/blkid/src/topology/evms.c
> > +++ b/shlibs/blkid/src/topology/evms.c
> > @@ -16,6 +16,9 @@
> >  #include <stdlib.h>
> >  #include <string.h>
> >  #include <sys/ioctl.h>
> > +#ifdef HAVE_SYS_IOCCOM_H
> > +#include <sys/ioccom.h>
> > +#endif

 and this. It's enough to add <sys/ioccom.h> to blkdev.h now. Thanks.

    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