summaryrefslogtreecommitdiff
path: root/net/nss-pam-ldapd/files/patch-nss__shadow.c
blob: 7ffbc189957d1ce8ad678184cd4f3526f937e8ba (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
+