summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--includes.h3
-rw-r--r--moduli.c11
-rw-r--r--progressmeter.c3
-rw-r--r--scp.c3
-rw-r--r--sftp-common.c3
-rw-r--r--sftp-server.c3
-rw-r--r--ssh-agent.c3
-rw-r--r--sshlogin.c3
9 files changed, 26 insertions, 12 deletions
diff --git a/ChangeLog b/ChangeLog
index 49fccbec..636d309b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -76,6 +76,10 @@
- stevesk@cvs.openbsd.org 2006/07/21 21:26:55
[progressmeter.c]
ARGSUSED for signal handler
+ - stevesk@cvs.openbsd.org 2006/07/22 19:08:54
+ [includes.h moduli.c progressmeter.c scp.c sftp-common.c]
+ [sftp-server.c ssh-agent.c sshlogin.c]
+ move #include <time.h> out of includes.h
20060713
- (dtucker) [auth-krb5.c auth-pam.c] Still more errno.h
@@ -4994,4 +4998,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
-$Id: ChangeLog,v 1.4426 2006/07/24 04:08:50 djm Exp $
+$Id: ChangeLog,v 1.4427 2006/07/24 04:09:40 djm Exp $
diff --git a/includes.h b/includes.h
index da89decd..da526bc7 100644
--- a/includes.h
+++ b/includes.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: includes.h,v 1.52 2006/07/17 01:31:09 stevesk Exp $ */
+/* $OpenBSD: includes.h,v 1.53 2006/07/22 19:08:54 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -23,7 +23,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <time.h>
#ifdef HAVE_LIMITS_H
# include <limits.h> /* For PATH_MAX */
diff --git a/moduli.c b/moduli.c
index f6f15a2a..9d4aedd5 100644
--- a/moduli.c
+++ b/moduli.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: moduli.c,v 1.13 2006/03/25 00:05:41 djm Exp $ */
+/* $OpenBSD: moduli.c,v 1.14 2006/07/22 19:08:54 stevesk Exp $ */
/*
* Copyright 1994 Phil Karn <karn@qualcomm.com>
* Copyright 1996-1998, 2003 William Allen Simpson <wsimpson@greendragon.com>
@@ -38,11 +38,16 @@
*/
#include "includes.h"
-#include "xmalloc.h"
-#include "log.h"
+
+#include <sys/types.h>
#include <openssl/bn.h>
+#include <time.h>
+
+#include "xmalloc.h"
+#include "log.h"
+
/*
* File output defines
*/
diff --git a/progressmeter.c b/progressmeter.c
index c8c3f1b3..c70e9939 100644
--- a/progressmeter.c
+++ b/progressmeter.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: progressmeter.c,v 1.32 2006/07/21 21:26:55 stevesk Exp $ */
+/* $OpenBSD: progressmeter.c,v 1.33 2006/07/22 19:08:54 stevesk Exp $ */
/*
* Copyright (c) 2003 Nils Nordman. All rights reserved.
*
@@ -30,6 +30,7 @@
#include <errno.h>
#include <signal.h>
+#include <time.h>
#include <unistd.h>
#include "progressmeter.h"
diff --git a/scp.c b/scp.c
index 03f815fb..72c4ee43 100644
--- a/scp.c
+++ b/scp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scp.c,v 1.148 2006/07/17 01:31:09 stevesk Exp $ */
+/* $OpenBSD: scp.c,v 1.149 2006/07/22 19:08:54 stevesk Exp $ */
/*
* scp - secure remote copy. This is basically patched BSD rcp which
* uses ssh to do the data transfer (instead of using rcmd).
@@ -86,6 +86,7 @@
#include <pwd.h>
#include <signal.h>
#include <stdarg.h>
+#include <time.h>
#include <unistd.h>
#include "xmalloc.h"
diff --git a/sftp-common.c b/sftp-common.c
index 92ce9066..6fd0d76b 100644
--- a/sftp-common.c
+++ b/sftp-common.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sftp-common.c,v 1.15 2006/07/06 16:03:53 stevesk Exp $ */
+/* $OpenBSD: sftp-common.c,v 1.16 2006/07/22 19:08:54 stevesk Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
* Copyright (c) 2001 Damien Miller. All rights reserved.
@@ -31,6 +31,7 @@
#include <grp.h>
#include <pwd.h>
+#include <time.h>
#include "buffer.h"
#include "bufaux.h"
diff --git a/sftp-server.c b/sftp-server.c
index 923cc8c1..3c254e33 100644
--- a/sftp-server.c
+++ b/sftp-server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sftp-server.c,v 1.63 2006/07/17 01:31:09 stevesk Exp $ */
+/* $OpenBSD: sftp-server.c,v 1.64 2006/07/22 19:08:54 stevesk Exp $ */
/*
* Copyright (c) 2000-2004 Markus Friedl. All rights reserved.
*
@@ -24,6 +24,7 @@
#include <fcntl.h>
#include <pwd.h>
#include <unistd.h>
+#include <time.h>
#include "buffer.h"
#include "bufaux.h"
diff --git a/ssh-agent.c b/ssh-agent.c
index 621b0977..a0713b23 100644
--- a/ssh-agent.c
+++ b/ssh-agent.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-agent.c,v 1.144 2006/07/17 01:31:10 stevesk Exp $ */
+/* $OpenBSD: ssh-agent.c,v 1.145 2006/07/22 19:08:54 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -51,6 +51,7 @@
# include <paths.h>
#endif
#include <signal.h>
+#include <time.h>
#include <unistd.h>
#include <openssl/evp.h>
diff --git a/sshlogin.c b/sshlogin.c
index 33506931..ea313e80 100644
--- a/sshlogin.c
+++ b/sshlogin.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshlogin.c,v 1.20 2006/07/17 01:31:10 stevesk Exp $ */
+/* $OpenBSD: sshlogin.c,v 1.21 2006/07/22 19:08:54 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -45,6 +45,7 @@
#include <errno.h>
#include <fcntl.h>
+#include <time.h>
#include <unistd.h>
#include "loginrec.h"