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

Re: Consoles and d-i



On Sun, Apr 03, 2011 at 04:34:05PM +0200, Julien Cristau wrote:
> On Sun, Apr  3, 2011 at 15:03:32 +0100, Jurij Smakov wrote:
[...]
> > + * Licensed under GPLv2
> > + *
> > + * Print out major:minor number of the real console device,
> > + * using the TIOCGDEV ioctl (only works on kernels >= 2.6.38).
> > + * 
> > + * Copyright (c) 2011 Jurij Smakov <jurij@debian.org>
> > + */
> > +
> > +#include <stdio.h>
> > +#include <sys/ioctl.h>
> > +#include <sys/types.h>
> > +#include <sys/stat.h>
> > +#include <fcntl.h>
> > +
> > +#define TIOCGDEV        _IOR('T', 0x32, unsigned int)
> > +
> 
> the define shouldn't be needed if you build-depend on
> 'linux-libc-dev (>= 2.6.38) [linux-any]'.

Thanks, I've updated commit in my tree [0] with this change
and verified that it builds in up-to-date sid chroot.

[0] http://git.debian.org/?p=users/jurij-guest/rootskel.git;a=commit;h=d70e182f7e22fa80b107a29ff69712dea3ae333f

Best regards,
-- 
Jurij Smakov                                           jurij@wooyd.org
Key: http://www.wooyd.org/pgpkey/                      KeyID: C99E03CC


Reply to: