[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Mon, 17 Jun 2002 19:13:29 +0530
I am not sure if this counts as a bug. I tried making inetutils on an
Some of the files (e.g telnetd/sys_term.c) include utmp.h (or utmpx.h if
available) as a header.
Now my system has both, so utmpx.h is included and all #defines are set
Both these header files declare a "struct utmp" which used to contain a
field "ut_name" but now has been
replaced by ut_user . utmp.h defines a macro (#define ut_name ut_user) for
but utmpx.h doesn't . Now since inetutils uses utmpx.h rather than utmp.h ,
it gives compilation errors
because it can't find "ut_name" field.
Is there any option other than adding a small bit of code to include utmp.h
rather than utmpx.h ?
And I can't the macro to utmpx.h because I am not the root :-(
- (no subject),
Rahul Gupta <=