git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
088887b
)
src: Add configure check for shadow.h
author
Andreas Schneider
<asn@samba.org>
Tue, 6 Oct 2015 08:19:48 +0000
(10:19 +0200)
committer
Michael Adam
<obnox@samba.org>
Mon, 11 Jan 2016 11:25:27 +0000
(12:25 +0100)
This is the first part to fix FreeBSD.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
lib/nss_wrapper/nss_wrapper.c
patch
|
blob
|
history
diff --git
a/lib/nss_wrapper/nss_wrapper.c
b/lib/nss_wrapper/nss_wrapper.c
index ca57dfbc6fa685757d0b0d76d94956d71bebb8ca..978c3071d50452144cd8a64b94d4d5ef21c5d98c 100644
(file)
--- a/
lib/nss_wrapper/nss_wrapper.c
+++ b/
lib/nss_wrapper/nss_wrapper.c
@@
-61,7
+61,9
@@
#include <pwd.h>
#include <grp.h>
+#ifdef HAVE_SHADOW_H
#include <shadow.h>
+#endif /* HAVE_SHADOW_H */
#include <netdb.h>
#include <arpa/inet.h>