aboutsummaryrefslogtreecommitdiff
path: root/net/nss-pam-ldapd/files/patch-nss__shadow.c
blob: 9212ca6d451833e26817ee0bcd57d695a7e8c29d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- ./nss/shadow.c.orig	2009-05-29 21:23:03.000000000 +0000
+++ ./nss/shadow.c	2009-08-02 22:32:27.000000000 +0000
@@ -22,6 +22,7 @@
 
 #include "config.h"
 
+#ifdef HAVE_SHADOW_H
 #include <string.h>
 #include <nss.h>
 #include <errno.h>
@@ -73,3 +74,6 @@
 {
   NSS_ENDENT(spentfp);
 }
+
+#endif
+