--- rxvt-unicode/src/logging.C 2006/01/22 12:23:55 1.40 +++ rxvt-unicode/src/logging.C 2006/01/25 11:16:09 1.41 @@ -37,6 +37,10 @@ #include "../config.h" +#include "ptytty.h" + +#if UTMP_SUPPORT + #include #include @@ -45,10 +49,6 @@ #include #include -#include "ptytty.h" - -#if UTMP_SUPPORT - #if HAVE_STRUCT_UTMP static int write_bsd_utmp (int utmp_pos, struct utmp *wu); static void update_wtmp (const char *fname, const struct utmp *putmp); @@ -428,7 +428,7 @@ pwent = getpwuid (getuid ()); if (!pwent) { - ptytty_warn ("no entry in password file, not updating lastlog.\n"); + ptytty_warn ("no entry in password file, not updating lastlog.\n", 0); return; }