From 101bd184d1a007b36e4fb889434e3013bdd3d1ea Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Thu, 23 Feb 2012 11:41:11 +0100 Subject: s3:smbd/utmp.c - fix the build on FreeBSD 9 without utmp.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://bugzilla.samba.org/show_bug.cgi?id=8709 Reviewed-by: Jelmer Autobuild-User: Matthias Dieter Wallnöfer Autobuild-Date: Thu Feb 23 19:17:25 CET 2012 on sn-devel-104 --- source3/smbd/utmp.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3') 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 -- cgit