summaryrefslogtreecommitdiffstats
path: root/lib/libpam
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2010-11-22 14:45:16 +0000
committerdes <des@FreeBSD.org>2010-11-22 14:45:16 +0000
commited5fc363f954bf66287f4bf454ce51aa8fa04fd2 (patch)
tree24c4df5325ffc60b087ef2f90820e23056034311 /lib/libpam
parent7718cbcbf47164ddaa66a748a050f670b3b37e1d (diff)
downloadFreeBSD-src-ed5fc363f954bf66287f4bf454ce51aa8fa04fd2.zip
FreeBSD-src-ed5fc363f954bf66287f4bf454ce51aa8fa04fd2.tar.gz
Add <time.h> for ctime(), which we accidentally picked up through
<sys/time.h>. Submitted by: Garrett Cooper <yanegomi@gmail.com> MFC after: 3 days
Diffstat (limited to 'lib/libpam')
-rw-r--r--lib/libpam/modules/pam_unix/pam_unix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libpam/modules/pam_unix/pam_unix.c b/lib/libpam/modules/pam_unix/pam_unix.c
index fdfce3e..5c6c8f7 100644
--- a/lib/libpam/modules/pam_unix/pam_unix.c
+++ b/lib/libpam/modules/pam_unix/pam_unix.c
@@ -50,6 +50,7 @@ __FBSDID("$FreeBSD$");
#include <string.h>
#include <stdio.h>
#include <syslog.h>
+#include <time.h>
#include <unistd.h>
#include <libutil.h>
OpenPOWER on IntegriCloud