diff --git a/ChangeLog b/ChangeLog index ae91a5b7a..fbed54378 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,10 @@ - stevesk@cvs.openbsd.org 2006/07/25 02:01:34 [scard.c] need #include + - stevesk@cvs.openbsd.org 2006/07/25 02:59:21 + [channels.c clientloop.c packet.c scp.c serverloop.c sftp-client.c] + [sftp-server.c ssh-agent.c ssh-keyscan.c sshconnect.c sshd.c] + move #include out of includes.h 20060804 - (dtucker) [configure.ac] The "crippled AES" test does not work on recent @@ -5077,4 +5081,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.4443 2006/08/04 23:33:15 djm Exp $ +$Id: ChangeLog,v 1.4444 2006/08/05 00:57:45 djm Exp $ diff --git a/channels.c b/channels.c index 895c43f6a..f59afe01b 100644 --- a/channels.c +++ b/channels.c @@ -1,4 +1,4 @@ -/* $OpenBSD: channels.c,v 1.260 2006/07/22 20:48:22 stevesk Exp $ */ +/* $OpenBSD: channels.c,v 1.261 2006/07/25 02:59:21 stevesk Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -45,6 +45,9 @@ #include #include #include +#ifdef HAVE_SYS_TIME_H +# include +#endif #include #include diff --git a/clientloop.c b/clientloop.c index 0c700dbd4..e38089c1e 100644 --- a/clientloop.c +++ b/clientloop.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clientloop.c,v 1.170 2006/07/22 20:48:22 stevesk Exp $ */ +/* $OpenBSD: clientloop.c,v 1.171 2006/07/25 02:59:21 stevesk Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -62,11 +62,14 @@ #include "includes.h" #include +#include #ifdef HAVE_SYS_STAT_H # include #endif +#ifdef HAVE_SYS_TIME_H +# include +#endif #include -#include #include #include diff --git a/includes.h b/includes.h index 7a7bd8176..fc85e6778 100644 --- a/includes.h +++ b/includes.h @@ -20,6 +20,7 @@ #define _GNU_SOURCE /* activate extra prototypes for glibc */ +#include #include #include @@ -69,19 +70,12 @@ # include #endif #ifdef HAVE_UTMPX_H -# ifdef HAVE_TV_IN_UTMPX -# include -# endif # include #endif #ifdef HAVE_LASTLOG_H # include #endif -#include -#ifdef HAVE_SYS_TIME_H -# include /* For timersub */ -#endif #ifdef HAVE_SYS_SELECT_H # include #endif diff --git a/packet.c b/packet.c index 8250b3bc8..a20e4ed02 100644 --- a/packet.c +++ b/packet.c @@ -1,4 +1,4 @@ -/* $OpenBSD: packet.c,v 1.137 2006/07/22 20:48:23 stevesk Exp $ */ +/* $OpenBSD: packet.c,v 1.138 2006/07/25 02:59:21 stevesk Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -42,6 +42,9 @@ #include #include "openbsd-compat/sys-queue.h" #include +#ifdef HAVE_SYS_TIME_H +# include +#endif #include #include diff --git a/scp.c b/scp.c index 5ff6cac9a..cf8db8f34 100644 --- a/scp.c +++ b/scp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: scp.c,v 1.150 2006/07/22 20:48:23 stevesk Exp $ */ +/* $OpenBSD: scp.c,v 1.151 2006/07/25 02:59:21 stevesk Exp $ */ /* * scp - secure remote copy. This is basically patched BSD rcp which * uses ssh to do the data transfer (instead of using rcmd). @@ -77,6 +77,9 @@ #ifdef HAVE_SYS_STAT_H # include #endif +#ifdef HAVE_SYS_TIME_H +# include +#endif #include #include diff --git a/serverloop.c b/serverloop.c index ba1e0dad7..1772992e8 100644 --- a/serverloop.c +++ b/serverloop.c @@ -1,4 +1,4 @@ -/* $OpenBSD: serverloop.c,v 1.141 2006/07/22 20:48:23 stevesk Exp $ */ +/* $OpenBSD: serverloop.c,v 1.142 2006/07/25 02:59:21 stevesk Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -40,6 +40,9 @@ #include #include #include +#ifdef HAVE_SYS_TIME_H +# include +#endif #include diff --git a/sftp-client.c b/sftp-client.c index 9e7011ffd..b00dc70bd 100644 --- a/sftp-client.c +++ b/sftp-client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sftp-client.c,v 1.70 2006/07/23 01:11:05 stevesk Exp $ */ +/* $OpenBSD: sftp-client.c,v 1.71 2006/07/25 02:59:21 stevesk Exp $ */ /* * Copyright (c) 2001-2004 Damien Miller * @@ -26,6 +26,9 @@ #ifdef HAVE_SYS_STAT_H # include #endif +#ifdef HAVE_SYS_TIME_H +# include +#endif #include #include diff --git a/sftp-server.c b/sftp-server.c index 6067f0203..13ba8e625 100644 --- a/sftp-server.c +++ b/sftp-server.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sftp-server.c,v 1.65 2006/07/22 20:48:23 stevesk Exp $ */ +/* $OpenBSD: sftp-server.c,v 1.66 2006/07/25 02:59:21 stevesk Exp $ */ /* * Copyright (c) 2000-2004 Markus Friedl. All rights reserved. * @@ -18,6 +18,9 @@ #include #include +#ifdef HAVE_SYS_TIME_H +# include +#endif #include #include diff --git a/ssh-agent.c b/ssh-agent.c index 5bf4dbc18..e4b620483 100644 --- a/ssh-agent.c +++ b/ssh-agent.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-agent.c,v 1.146 2006/07/22 20:48:23 stevesk Exp $ */ +/* $OpenBSD: ssh-agent.c,v 1.147 2006/07/25 02:59:21 stevesk Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -39,6 +39,9 @@ #include #include #include +#ifdef HAVE_SYS_TIME_H +# include +#endif #ifdef HAVE_SYS_UN_H # include #endif diff --git a/ssh-keyscan.c b/ssh-keyscan.c index 6b706f0af..e47460a8a 100644 --- a/ssh-keyscan.c +++ b/ssh-keyscan.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-keyscan.c,v 1.69 2006/07/22 20:48:23 stevesk Exp $ */ +/* $OpenBSD: ssh-keyscan.c,v 1.70 2006/07/25 02:59:21 stevesk Exp $ */ /* * Copyright 1995, 1996 by David Mazieres . * @@ -11,6 +11,9 @@ #include "openbsd-compat/sys-queue.h" #include +#ifdef HAVE_SYS_TIME_H +# include +#endif #include diff --git a/sshconnect.c b/sshconnect.c index 06844eb71..4301fb20f 100644 --- a/sshconnect.c +++ b/sshconnect.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sshconnect.c,v 1.194 2006/07/24 13:58:22 stevesk Exp $ */ +/* $OpenBSD: sshconnect.c,v 1.195 2006/07/25 02:59:21 stevesk Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -19,6 +19,9 @@ #include #include #include +#ifdef HAVE_SYS_TIME_H +# include +#endif #include diff --git a/sshd.c b/sshd.c index cc1ebd8d9..82a37ef46 100644 --- a/sshd.c +++ b/sshd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sshd.c,v 1.339 2006/07/22 20:48:23 stevesk Exp $ */ +/* $OpenBSD: sshd.c,v 1.340 2006/07/25 02:59:21 stevesk Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -50,6 +50,9 @@ #endif #include #include +#ifdef HAVE_SYS_TIME_H +# include +#endif #include #include