Hi! > This is to fix compilation on RHEL5.3: > In file included from tst_res.c:216: > errnos.h: In function ???strerrnodef???: > errnos.h:164: error: ???ERFKILL??? undeclared (first use in this function) > errnos.h:164: error: (Each undeclared identifier is reported only once > errnos.h:164: error: for each function it appears in.) > errnos.h:164: error: array index in initializer not of integer type > errnos.h:164: error: (near initialization for ???errno_pairs???) > make[1]: *** [tst_res.o] Error 1 > > Signed-off-by: Jan Stancek <jstan...@redhat.com> > --- > lib/errnos.h | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/lib/errnos.h b/lib/errnos.h > index 797aed4..ee9620b 100644 > --- a/lib/errnos.h > +++ b/lib/errnos.h > @@ -161,7 +161,9 @@ static const char *strerrnodef(int err) > PAIR(EKEYREJECTED) > PAIR(EOWNERDEAD) > PAIR(ENOTRECOVERABLE) > +#ifdef ERFKILL > PAIR(ERFKILL) > +#endif > #ifdef EHWPOISON > PAIR(EHWPOISON) > #endif
Pushed and added few more so that we are compatible back to the SLES9 and RHEL4. Thanks. -- Cyril Hrubis chru...@suse.cz ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list