summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2007-04-29 12:10:57 +1000
committerDarren Tucker <dtucker@zip.com.au>2007-04-29 12:10:57 +1000
commitd757e69cdae6bbb8c5626ff25f8f2fc151ebc98f (patch)
tree479bcc2504bb8b1d01412b43f460ddf4412f6f90
parent781e7a28d0376af76bae27495bac5054510688b1 (diff)
- (dtucker) [auth-shadow.c loginrec.c] Include time.h for time(2) prototype.
-rw-r--r--ChangeLog3
-rw-r--r--auth-shadow.c1
-rw-r--r--loginrec.c1
3 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 71800d957..d83e12642 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
20070429
- (dtucker) [openbsd-compat/bsd-misc.c] Include unistd.h and sys/types.h
for select(2) prototype.
+ - (dtucker) [auth-shadow.c loginrec.c] Include time.h for time(2) prototype.
20070406
- (dtucker) [INSTALL] Update the systems that have PAM as standard. Link
@@ -2882,4 +2883,4 @@
OpenServer 6 and add osr5bigcrypt support so when someone migrates
passwords between UnixWare and OpenServer they will still work. OK dtucker@
-$Id: ChangeLog,v 1.4652 2007/04/29 02:06:55 dtucker Exp $
+$Id: ChangeLog,v 1.4653 2007/04/29 02:10:57 dtucker Exp $
diff --git a/auth-shadow.c b/auth-shadow.c
index 8b3160aee..219091677 100644
--- a/auth-shadow.c
+++ b/auth-shadow.c
@@ -28,6 +28,7 @@
#include <shadow.h>
#include <stdarg.h>
#include <string.h>
+#include <time.h>
#include "key.h"
#include "hostfile.h"
diff --git a/loginrec.c b/loginrec.c
index e59127747..b41114198 100644
--- a/loginrec.c
+++ b/loginrec.c
@@ -161,6 +161,7 @@
#include <pwd.h>
#include <stdarg.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include "xmalloc.h"