From 22f159f45f791ef2b1664ebfbdf0867d5d8ce97f Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 6 Oct 2015 10:19:48 +0200 Subject: [PATCH] src: Add configure check for shadow.h This is the first part to fix FreeBSD. Signed-off-by: Andreas Schneider Reviewed-by: Michael Adam --- lib/nss_wrapper/nss_wrapper.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/nss_wrapper/nss_wrapper.c b/lib/nss_wrapper/nss_wrapper.c index ca57dfbc6fa..978c3071d50 100644 --- a/lib/nss_wrapper/nss_wrapper.c +++ b/lib/nss_wrapper/nss_wrapper.c @@ -61,7 +61,9 @@ #include #include +#ifdef HAVE_SHADOW_H #include +#endif /* HAVE_SHADOW_H */ #include #include