summaryrefslogtreecommitdiffstats
path: root/contrib/openpam/modules/pam_unix/pam_unix.c
diff options
context:
space:
mode:
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