Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 May 2003 09:33:42 -0700 (PDT)
From:      Dag-Erling Smorgrav <des@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 31783 for review
Message-ID:  <200305241633.h4OGXgrI083920@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=31783

Change 31783 by des@des.at.des.thinksec.com on 2003/05/24 09:33:26

	Make this build on glibc systems.
	
	Submitted by:	Dmitry V. Levin <ldv@altlinux.org>

Affected files ...

.. //depot/projects/openpam/modules/pam_unix/pam_unix.c#4 edit

Differences ...

==== //depot/projects/openpam/modules/pam_unix/pam_unix.c#4 (text+ko) ====

@@ -31,7 +31,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * $P4: //depot/projects/openpam/modules/pam_unix/pam_unix.c#3 $
+ * $P4: //depot/projects/openpam/modules/pam_unix/pam_unix.c#4 $
  */
 
 #include <sys/param.h>
@@ -42,6 +42,10 @@
 #include <string.h>
 #include <unistd.h>
 
+#ifdef __GLIBC__
+#include <crypt.h>
+#endif
+
 #include <security/pam_modules.h>
 #include <security/pam_appl.h>
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305241633.h4OGXgrI083920>