From cd995e6c5d5f9c0a27ea08101185da3575bb83eb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Matthias=20Dieter=20Walln=C3=B6fer?= Date: Thu, 23 Feb 2012 11:41:11 +0100 Subject: [PATCH] s3:smbd/utmp.c - fix the build on FreeBSD 9 without utmp.h https://bugzilla.samba.org/show_bug.cgi?id=8709 --- source3/smbd/utmp.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.34.1