this patch fix problem with building freeradius-0.6 on HP-UX11: --- src/include/sysutmp.h.orig Mon Oct 23 17:21:48 2000 +++ src/include/sysutmp.h Thu Jul 25 15:25:05 2002 @@ -11,7 +11,7 @@ * If we have BOTH utmp.h and utmpx.h, then * we prefer to use utmp.h, but only on systems other than Solaris. */ -#if !defined(sun) && !defined(sgi) +#if !defined(sun) && !defined(sgi) && !defined(hpux) #ifdef HAVE_UTMP_H #undef HAVE_UTMPX_H #endif @@ -27,6 +27,7 @@ # define UT_NAMESIZE 32 # define UT_LINESIZE 32 # define UT_HOSTSIZE 257 +# define ut_name ut_user #else # include <utmp.h> #endif
-- Leonid A. Lyamanov - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
