diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/utmp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/utmp.c b/source3/smbd/utmp.c index 5931b2b1d0..de6d707eaf 100644 --- a/source3/smbd/utmp.c +++ b/source3/smbd/utmp.c @@ -409,6 +409,10 @@ static void sys_utmp_update(struct utmp *u, const char *hostname, bool claim) /* Odd. Have utmpx.h but no "getutmpx()". Drop to non-x stuff */ DEBUG(1,("utmp_update: have utmpx.h but no getutmpx() function\n")); utmp_nox_update(u, claim); +#elif !defined(HAVE_UPDWTMPX) + /* Have utmpx.h but no "updwtmpx()". Drop to non-x stuff */ + DEBUG(1,("utmp_update: have utmpx.h but no updwtmpx() function\n")); + utmp_nox_update(u, claim); #else char *uname = NULL; char *wname = NULL; |