git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f25d1f5
)
s3:smbd/utmp.c - fix the build on FreeBSD 9 without utmp.h
author
Matthias Dieter Wallnöfer
<mdw@samba.org>
Thu, 23 Feb 2012 10:41:11 +0000
(11:41 +0100)
committer
Matthias Dieter Wallnöfer
<mdw@samba.org>
Thu, 23 Feb 2012 18:17:25 +0000
(19:17 +0100)
https://bugzilla.samba.org/show_bug.cgi?id=8709
Reviewed-by: Jelmer
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Thu Feb 23 19:17:25 CET 2012 on sn-devel-104
source3/smbd/utmp.c
patch
|
blob
|
history
diff --git
a/source3/smbd/utmp.c
b/source3/smbd/utmp.c
index 47462f6d85255fef5625704b0917b71969d63901..6837c078cfe7e6fc778e469d7f860576ffd721e1 100644
(file)
--- 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 <utmp.h>
+#endif
#ifdef HAVE_UTMPX_H
#include <utmpx.h>