From: Matthias Dieter Wallnöfer Date: Thu, 23 Feb 2012 10:41:11 +0000 (+0100) Subject: s3:smbd/utmp.c - fix the build on FreeBSD 9 without utmp.h X-Git-Url: http://git.samba.org/samba.git/?p=mdw%2Fsamba.git;a=commitdiff_plain;h=cd995e6c5d5f9c0a27ea08101185da3575bb83eb s3:smbd/utmp.c - fix the build on FreeBSD 9 without utmp.h https://bugzilla.samba.org/show_bug.cgi?id=8709 --- diff --git a/source3/smbd/utmp.c b/source3/smbd/utmp.c index 47462f6d85..6837c078cf 100644 --- a/source3/smbd/utmp.c +++ b/source3/smbd/utmp.c @@ -126,7 +126,9 @@ void sys_utmp_yield(const char *username, const char *hostname, #else /* WITH_UTMP */ +#ifdef HAVE_UTMP_H #include +#endif #ifdef HAVE_UTMPX_H #include