summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-08-05 11:34:19 +1000
committerDamien Miller <djm@mindrot.org>2006-08-05 11:34:19 +1000
commite7a1e5cf630d635b253f0c0bada8c8886436297f (patch)
treebc82ccd5819445dbbfa7049e5f0ffa9882433062
parent8dbffe7904c4e28b7a741064a468f1cd98c0ad81 (diff)
- stevesk@cvs.openbsd.org 2006/07/26 13:57:17
[authfd.c authfile.c dh.c canohost.c channels.c clientloop.c compat.c] [hostfile.c kex.c log.c misc.c moduli.c monitor.c packet.c readpass.c] [scp.c servconf.c session.c sftp-server.c sftp.c ssh-add.c ssh-agent.c] [ssh-keygen.c ssh-keyscan.c ssh-keysign.c ssh.c sshconnect.c] [sshconnect1.c sshd.c xmalloc.c] move #include <stdlib.h> out of includes.h
-rw-r--r--ChangeLog9
-rw-r--r--authfd.c3
-rw-r--r--authfile.c3
-rw-r--r--canohost.c3
-rw-r--r--channels.c3
-rw-r--r--clientloop.c3
-rw-r--r--compat.c3
-rw-r--r--dh.c3
-rw-r--r--hostfile.c9
-rw-r--r--includes.h1
-rw-r--r--kex.c3
-rw-r--r--log.c3
-rw-r--r--misc.c3
-rw-r--r--moduli.c3
-rw-r--r--monitor.c3
-rw-r--r--packet.c3
-rw-r--r--readpass.c3
-rw-r--r--scp.c3
-rw-r--r--servconf.c3
-rw-r--r--session.c3
-rw-r--r--sftp-server.c3
-rw-r--r--sftp.c3
-rw-r--r--ssh-add.c3
-rw-r--r--ssh-agent.c3
-rw-r--r--ssh-keygen.c3
-rw-r--r--ssh-keyscan.c5
-rw-r--r--ssh-keysign.c3
-rw-r--r--ssh.c3
-rw-r--r--sshconnect.c3
-rw-r--r--sshconnect1.c3
-rw-r--r--sshd.c3
-rw-r--r--xmalloc.c3
32 files changed, 72 insertions, 36 deletions
diff --git a/ChangeLog b/ChangeLog
index 9d02af42..b9a3ca2f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -18,6 +18,13 @@
[sftp-server.c sftp.c ssh-add.c ssh-agent.c ssh-keygen.c sshlogin.c]
[uidswap.c xmalloc.c]
move #include <sys/param.h> out of includes.h
+ - stevesk@cvs.openbsd.org 2006/07/26 13:57:17
+ [authfd.c authfile.c dh.c canohost.c channels.c clientloop.c compat.c]
+ [hostfile.c kex.c log.c misc.c moduli.c monitor.c packet.c readpass.c]
+ [scp.c servconf.c session.c sftp-server.c sftp.c ssh-add.c ssh-agent.c]
+ [ssh-keygen.c ssh-keyscan.c ssh-keysign.c ssh.c sshconnect.c]
+ [sshconnect1.c sshd.c xmalloc.c]
+ move #include <stdlib.h> out of includes.h
20060804
- (dtucker) [configure.ac] The "crippled AES" test does not work on recent
@@ -5088,4 +5095,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.4445 2006/08/05 01:02:17 djm Exp $
+$Id: ChangeLog,v 1.4446 2006/08/05 01:34:19 djm Exp $
diff --git a/authfd.c b/authfd.c
index 52766bcd..f8ee8051 100644
--- a/authfd.c
+++ b/authfd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: authfd.c,v 1.78 2006/07/22 20:48:22 stevesk Exp $ */
+/* $OpenBSD: authfd.c,v 1.79 2006/07/26 13:57:17 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -44,6 +44,7 @@
#include <openssl/evp.h>
#include <fcntl.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
diff --git a/authfile.c b/authfile.c
index e01a08aa..7231be55 100644
--- a/authfile.c
+++ b/authfile.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: authfile.c,v 1.72 2006/07/26 02:35:17 stevesk Exp $ */
+/* $OpenBSD: authfile.c,v 1.73 2006/07/26 13:57:17 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -48,6 +48,7 @@
#include <errno.h>
#include <fcntl.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
diff --git a/canohost.c b/canohost.c
index b40cbf60..681139cd 100644
--- a/canohost.c
+++ b/canohost.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: canohost.c,v 1.58 2006/07/22 20:48:22 stevesk Exp $ */
+/* $OpenBSD: canohost.c,v 1.59 2006/07/26 13:57:17 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -22,6 +22,7 @@
#include <ctype.h>
#include <errno.h>
#include <netdb.h>
+#include <stdlib.h>
#include <string.h>
#include "packet.h"
diff --git a/channels.c b/channels.c
index f59afe01..b8c4e7e7 100644
--- a/channels.c
+++ b/channels.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: channels.c,v 1.261 2006/07/25 02:59:21 stevesk Exp $ */
+/* $OpenBSD: channels.c,v 1.262 2006/07/26 13:57:17 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -54,6 +54,7 @@
#include <errno.h>
#include <netdb.h>
+#include <stdlib.h>
#include <string.h>
#include <termios.h>
#include <unistd.h>
diff --git a/clientloop.c b/clientloop.c
index ca7b9060..46f52e1a 100644
--- a/clientloop.c
+++ b/clientloop.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clientloop.c,v 1.172 2006/07/26 02:35:17 stevesk Exp $ */
+/* $OpenBSD: clientloop.c,v 1.173 2006/07/26 13:57:17 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -78,6 +78,7 @@
#include <paths.h>
#endif
#include <signal.h>
+#include <stdlib.h>
#include <string.h>
#include <termios.h>
#include <unistd.h>
diff --git a/compat.c b/compat.c
index 35e429a5..e1a8b2bf 100644
--- a/compat.c
+++ b/compat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: compat.c,v 1.74 2006/07/22 20:48:23 stevesk Exp $ */
+/* $OpenBSD: compat.c,v 1.75 2006/07/26 13:57:17 stevesk Exp $ */
/*
* Copyright (c) 1999, 2000, 2001, 2002 Markus Friedl. All rights reserved.
*
@@ -25,6 +25,7 @@
#include "includes.h"
+#include <stdlib.h>
#include <string.h>
#include "buffer.h"
diff --git a/dh.c b/dh.c
index bad0a348..1ebd3f48 100644
--- a/dh.c
+++ b/dh.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dh.c,v 1.39 2006/07/26 02:35:17 stevesk Exp $ */
+/* $OpenBSD: dh.c,v 1.40 2006/07/26 13:57:17 stevesk Exp $ */
/*
* Copyright (c) 2000 Niels Provos. All rights reserved.
*
@@ -30,6 +30,7 @@
#include <openssl/bn.h>
#include <openssl/dh.h>
+#include <stdlib.h>
#include <string.h>
#include "dh.h"
diff --git a/hostfile.c b/hostfile.c
index c067f5e1..33516a64 100644
--- a/hostfile.c
+++ b/hostfile.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hostfile.c,v 1.42 2006/07/22 20:48:23 stevesk Exp $ */
+/* $OpenBSD: hostfile.c,v 1.43 2006/07/26 13:57:17 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -42,12 +42,13 @@
#include <netinet/in.h>
-#include <resolv.h>
-#include <string.h>
-
#include <openssl/hmac.h>
#include <openssl/sha.h>
+#include <resolv.h>
+#include <stdlib.h>
+#include <string.h>
+
#include "match.h"
#include "key.h"
#include "hostfile.h"
diff --git a/includes.h b/includes.h
index 9dc284a6..215c0087 100644
--- a/includes.h
+++ b/includes.h
@@ -22,7 +22,6 @@
#include <sys/types.h>
#include <stdio.h>
-#include <stdlib.h>
#ifdef HAVE_LIMITS_H
# include <limits.h> /* For PATH_MAX */
diff --git a/kex.c b/kex.c
index 5c1be6ed..4b1dda81 100644
--- a/kex.c
+++ b/kex.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kex.c,v 1.73 2006/07/26 02:35:17 stevesk Exp $ */
+/* $OpenBSD: kex.c,v 1.74 2006/07/26 13:57:17 stevesk Exp $ */
/*
* Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
*
@@ -29,6 +29,7 @@
#include <openssl/crypto.h>
+#include <stdlib.h>
#include <string.h>
#include "ssh2.h"
diff --git a/log.c b/log.c
index 8a308c2f..68cbfc7d 100644
--- a/log.c
+++ b/log.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: log.c,v 1.35 2006/07/22 20:48:23 stevesk Exp $ */
+/* $OpenBSD: log.c,v 1.36 2006/07/26 13:57:17 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -37,6 +37,7 @@
#include "includes.h"
#include <stdarg.h>
+#include <stdlib.h>
#include <string.h>
#include <syslog.h>
#include <unistd.h>
diff --git a/misc.c b/misc.c
index fc3fcca4..c251139f 100644
--- a/misc.c
+++ b/misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: misc.c,v 1.61 2006/07/26 02:35:17 stevesk Exp $ */
+/* $OpenBSD: misc.c,v 1.62 2006/07/26 13:57:17 stevesk Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
* Copyright (c) 2005,2006 Damien Miller. All rights reserved.
@@ -32,6 +32,7 @@
#include <sys/param.h>
#include <stdarg.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
diff --git a/moduli.c b/moduli.c
index 4d5576a1..7b6a7b89 100644
--- a/moduli.c
+++ b/moduli.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: moduli.c,v 1.15 2006/07/22 20:48:23 stevesk Exp $ */
+/* $OpenBSD: moduli.c,v 1.16 2006/07/26 13:57:17 stevesk Exp $ */
/*
* Copyright 1994 Phil Karn <karn@qualcomm.com>
* Copyright 1996-1998, 2003 William Allen Simpson <wsimpson@greendragon.com>
@@ -43,6 +43,7 @@
#include <openssl/bn.h>
+#include <stdlib.h>
#include <string.h>
#include <time.h>
diff --git a/monitor.c b/monitor.c
index ab716bdf..32517985 100644
--- a/monitor.c
+++ b/monitor.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: monitor.c,v 1.83 2006/07/26 02:35:17 stevesk Exp $ */
+/* $OpenBSD: monitor.c,v 1.84 2006/07/26 13:57:17 stevesk Exp $ */
/*
* Copyright 2002 Niels Provos <provos@citi.umich.edu>
* Copyright 2002 Markus Friedl <markus@openbsd.org>
@@ -39,6 +39,7 @@
#endif
#include <pwd.h>
#include <signal.h>
+#include <stdlib.h>
#include <string.h>
#ifdef SKEY
diff --git a/packet.c b/packet.c
index 875f9eb3..2c980d25 100644
--- a/packet.c
+++ b/packet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: packet.c,v 1.139 2006/07/26 02:35:17 stevesk Exp $ */
+/* $OpenBSD: packet.c,v 1.140 2006/07/26 13:57:17 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -53,6 +53,7 @@
#include <errno.h>
#include <stdarg.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
diff --git a/readpass.c b/readpass.c
index 1982fb6c..78b136f3 100644
--- a/readpass.c
+++ b/readpass.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: readpass.c,v 1.44 2006/07/22 20:48:23 stevesk Exp $ */
+/* $OpenBSD: readpass.c,v 1.45 2006/07/26 13:57:17 stevesk Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
*
@@ -34,6 +34,7 @@
# include <paths.h>
#endif
#include <stdarg.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
diff --git a/scp.c b/scp.c
index fa481d67..a807338b 100644
--- a/scp.c
+++ b/scp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scp.c,v 1.152 2006/07/26 02:35:17 stevesk Exp $ */
+/* $OpenBSD: scp.c,v 1.153 2006/07/26 13:57:17 stevesk Exp $ */
/*
* scp - secure remote copy. This is basically patched BSD rcp which
* uses ssh to do the data transfer (instead of using rcmd).
@@ -90,6 +90,7 @@
#include <pwd.h>
#include <signal.h>
#include <stdarg.h>
+#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
diff --git a/servconf.c b/servconf.c
index dca9508a..05f47355 100644
--- a/servconf.c
+++ b/servconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: servconf.c,v 1.160 2006/07/22 20:48:23 stevesk Exp $ */
+/* $OpenBSD: servconf.c,v 1.161 2006/07/26 13:57:17 stevesk Exp $ */
/*
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
* All rights reserved
@@ -16,6 +16,7 @@
#include <sys/socket.h>
#include <netdb.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
diff --git a/session.c b/session.c
index 11620f85..2ddc5bd2 100644
--- a/session.c
+++ b/session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.c,v 1.213 2006/07/26 02:35:17 stevesk Exp $ */
+/* $OpenBSD: session.c,v 1.214 2006/07/26 13:57:17 stevesk Exp $ */
/*
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
* All rights reserved
@@ -53,6 +53,7 @@
#endif
#include <pwd.h>
#include <signal.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
diff --git a/sftp-server.c b/sftp-server.c
index 02c897c1..abc9539e 100644
--- a/sftp-server.c
+++ b/sftp-server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sftp-server.c,v 1.67 2006/07/26 02:35:17 stevesk Exp $ */
+/* $OpenBSD: sftp-server.c,v 1.68 2006/07/26 13:57:17 stevesk Exp $ */
/*
* Copyright (c) 2000-2004 Markus Friedl. All rights reserved.
*
@@ -27,6 +27,7 @@
#include <errno.h>
#include <fcntl.h>
#include <pwd.h>
+#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
diff --git a/sftp.c b/sftp.c
index 761091ec..ca91bc50 100644
--- a/sftp.c
+++ b/sftp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sftp.c,v 1.88 2006/07/26 02:35:17 stevesk Exp $ */
+/* $OpenBSD: sftp.c,v 1.89 2006/07/26 13:57:17 stevesk Exp $ */
/*
* Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
*
@@ -37,6 +37,7 @@
typedef void EditLine;
#endif
#include <signal.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
diff --git a/ssh-add.c b/ssh-add.c
index 520f23ca..eccc8ce4 100644
--- a/ssh-add.c
+++ b/ssh-add.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-add.c,v 1.86 2006/07/26 02:35:17 stevesk Exp $ */
+/* $OpenBSD: ssh-add.c,v 1.87 2006/07/26 13:57:17 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 <fcntl.h>
#include <pwd.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
diff --git a/ssh-agent.c b/ssh-agent.c
index ed48c56d..478f8d1e 100644
--- a/ssh-agent.c
+++ b/ssh-agent.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-agent.c,v 1.148 2006/07/26 02:35:17 stevesk Exp $ */
+/* $OpenBSD: ssh-agent.c,v 1.149 2006/07/26 13:57:17 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -58,6 +58,7 @@
# include <paths.h>
#endif
#include <signal.h>
+#include <stdlib.h>
#include <time.h>
#include <string.h>
#include <unistd.h>
diff --git a/ssh-keygen.c b/ssh-keygen.c
index 8b48fbda..6383d747 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-keygen.c,v 1.151 2006/07/26 02:35:17 stevesk Exp $ */
+/* $OpenBSD: ssh-keygen.c,v 1.152 2006/07/26 13:57:17 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -29,6 +29,7 @@
# include <paths.h>
#endif
#include <pwd.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
diff --git a/ssh-keyscan.c b/ssh-keyscan.c
index e47460a8..3d8cc7e4 100644
--- a/ssh-keyscan.c
+++ b/ssh-keyscan.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-keyscan.c,v 1.70 2006/07/25 02:59:21 stevesk Exp $ */
+/* $OpenBSD: ssh-keyscan.c,v 1.71 2006/07/26 13:57:17 stevesk Exp $ */
/*
* Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>.
*
@@ -19,8 +19,9 @@
#include <netdb.h>
#include <errno.h>
-#include <stdarg.h>
#include <setjmp.h>
+#include <stdarg.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
diff --git a/ssh-keysign.c b/ssh-keysign.c
index 89b8e434..89fdbda3 100644
--- a/ssh-keysign.c
+++ b/ssh-keysign.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-keysign.c,v 1.27 2006/07/22 20:48:23 stevesk Exp $ */
+/* $OpenBSD: ssh-keysign.c,v 1.28 2006/07/26 13:57:17 stevesk Exp $ */
/*
* Copyright (c) 2002 Markus Friedl. All rights reserved.
*
@@ -29,6 +29,7 @@
#include <paths.h>
#endif
#include <pwd.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
diff --git a/ssh.c b/ssh.c
index df787e45..e08239c6 100644
--- a/ssh.c
+++ b/ssh.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh.c,v 1.289 2006/07/22 20:48:23 stevesk Exp $ */
+/* $OpenBSD: ssh.c,v 1.290 2006/07/26 13:57:17 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -61,6 +61,7 @@
#include <pwd.h>
#include <signal.h>
#include <stddef.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
diff --git a/sshconnect.c b/sshconnect.c
index 4301fb20..d70410a8 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshconnect.c,v 1.195 2006/07/25 02:59:21 stevesk Exp $ */
+/* $OpenBSD: sshconnect.c,v 1.196 2006/07/26 13:57:17 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -32,6 +32,7 @@
#include <paths.h>
#endif
#include <pwd.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
diff --git a/sshconnect1.c b/sshconnect1.c
index ab521621..37024e75 100644
--- a/sshconnect1.c
+++ b/sshconnect1.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshconnect1.c,v 1.66 2006/07/22 20:48:23 stevesk Exp $ */
+/* $OpenBSD: sshconnect1.c,v 1.67 2006/07/26 13:57:17 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -18,6 +18,7 @@
#include <openssl/bn.h>
#include <openssl/md5.h>
+#include <stdlib.h>
#include <string.h>
#include "ssh.h"
diff --git a/sshd.c b/sshd.c
index 82a37ef4..9fa17993 100644
--- a/sshd.c
+++ b/sshd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshd.c,v 1.340 2006/07/25 02:59:21 stevesk Exp $ */
+/* $OpenBSD: sshd.c,v 1.341 2006/07/26 13:57:17 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -64,6 +64,7 @@
#include <grp.h>
#include <pwd.h>
#include <signal.h>
+#include <stdlib.h>
#include <string.h>
#include <openssl/dh.h>
diff --git a/xmalloc.c b/xmalloc.c
index 511a9e12..77e2d27c 100644
--- a/xmalloc.c
+++ b/xmalloc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xmalloc.c,v 1.24 2006/07/26 02:35:17 stevesk Exp $ */
+/* $OpenBSD: xmalloc.c,v 1.25 2006/07/26 13:57:17 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -18,6 +18,7 @@
#include <sys/param.h>
#include <stdarg.h>
+#include <stdlib.h>
#include <string.h>
#include "xmalloc.h"