On Tue, Jan 29, 2008 at 01:35:35AM +0800, Bean wrote: > On Jan 29, 2008 1:27 AM, Robert Millan <[EMAIL PROTECTED]> wrote: > > On Mon, Jan 28, 2008 at 10:48:13PM +0800, Bean wrote: > > > +#include <stdio.h> > > > +#include <unistd.h> > > > +#include <string.h> > > > +#include <stdlib.h> > > > + > > > +#define _GNU_SOURCE 1 > > > +#include <getopt.h> > > > > I suspect this wouldn't work in practice, because any system header can > > drag <features.h> in. > > i'm not sure about this, in fact, the line is copied from > grub-probe.c, perhaps i should remove it.
Sure. If it was needed, removing it would break build on Glibc. -- Robert Millan <GPLv2> I know my rights; I want my phone call! <DRM> What use is a phone call… if you are unable to speak? (as seen on /.) _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel