summaryrefslogtreecommitdiffstats
path: root/contrib/openpam/modules/pam_unix/pam_unix.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2003-06-01 12:54:03 +0000
committerdes <des@FreeBSD.org>2003-06-01 12:54:03 +0000
commit41e5178438c42be453971ecc77e594228507f4ff (patch)
tree852509791b45358b4cc8a608da3d48b0ac65dba4 /contrib/openpam/modules/pam_unix/pam_unix.c
parent0e25b20be3d78e8c9078469b0519757c84976744 (diff)
parent3409f2d5db068fa23d2344776412b86150352336 (diff)
downloadFreeBSD-src-41e5178438c42be453971ecc77e594228507f4ff.zip
FreeBSD-src-41e5178438c42be453971ecc77e594228507f4ff.tar.gz
This commit was generated by cvs2svn to compensate for changes in r115619,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/openpam/modules/pam_unix/pam_unix.c')
-rw-r--r--contrib/openpam/modules/pam_unix/pam_unix.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/contrib/openpam/modules/pam_unix/pam_unix.c b/contrib/openpam/modules/pam_unix/pam_unix.c
index ddcd81b..2283915 100644
--- a/contrib/openpam/modules/pam_unix/pam_unix.c
+++ b/contrib/openpam/modules/pam_unix/pam_unix.c
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 2002 Networks Associates Technology, Inc.
+ * Copyright (c) 2002-2003 Networks Associates Technology, Inc.
* All rights reserved.
*
* This software was developed for the FreeBSD Project by ThinkSec AS and
@@ -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#5 $
*/
#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>
OpenPOWER on IntegriCloud