1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

src: Add configure check for shadow.h

This is the first part to fix FreeBSD.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
Andreas Schneider 2015-10-06 10:19:48 +02:00 committed by Michael Adam
parent 088887bda9
commit 22f159f45f

View File

@ -61,7 +61,9 @@
#include <pwd.h> #include <pwd.h>
#include <grp.h> #include <grp.h>
#ifdef HAVE_SHADOW_H
#include <shadow.h> #include <shadow.h>
#endif /* HAVE_SHADOW_H */
#include <netdb.h> #include <netdb.h>
#include <arpa/inet.h> #include <arpa/inet.h>