diff options
author | Kevin Steves <stevesk@cvs.openbsd.org> | 2006-07-26 13:57:18 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@cvs.openbsd.org> | 2006-07-26 13:57:18 +0000 |
commit | 0e26b85fee4e0899350769101a17a980358fb7c1 (patch) | |
tree | a5d5ad3c1e84ec985a80b75a7180b7b95652e017 | |
parent | a2b7d443bbe095a0bc30618197900dfdbf4c4c19 (diff) |
move #include <stdlib.h> out of includes.h
31 files changed, 64 insertions, 35 deletions
diff --git a/usr.bin/ssh/authfd.c b/usr.bin/ssh/authfd.c index 52766bcd2dc..f8ee8051dac 100644 --- a/usr.bin/ssh/authfd.c +++ b/usr.bin/ssh/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/usr.bin/ssh/authfile.c b/usr.bin/ssh/authfile.c index 9c1eb7c405e..c937e7388f8 100644 --- a/usr.bin/ssh/authfile.c +++ b/usr.bin/ssh/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/usr.bin/ssh/canohost.c b/usr.bin/ssh/canohost.c index 59089e6767e..94434e011ef 100644 --- a/usr.bin/ssh/canohost.c +++ b/usr.bin/ssh/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/usr.bin/ssh/channels.c b/usr.bin/ssh/channels.c index 90f5221eae6..468762532a1 100644 --- a/usr.bin/ssh/channels.c +++ b/usr.bin/ssh/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 @@ -52,6 +52,7 @@ #include <errno.h> #include <netdb.h> +#include <stdlib.h> #include <string.h> #include <termios.h> #include <unistd.h> diff --git a/usr.bin/ssh/clientloop.c b/usr.bin/ssh/clientloop.c index d7a684c6adc..1cb5983d078 100644 --- a/usr.bin/ssh/clientloop.c +++ b/usr.bin/ssh/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 @@ -72,6 +72,7 @@ #include <errno.h> #include <paths.h> #include <signal.h> +#include <stdlib.h> #include <string.h> #include <termios.h> #include <unistd.h> diff --git a/usr.bin/ssh/compat.c b/usr.bin/ssh/compat.c index 35e429a5ff9..e1a8b2bfd1f 100644 --- a/usr.bin/ssh/compat.c +++ b/usr.bin/ssh/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/usr.bin/ssh/dh.c b/usr.bin/ssh/dh.c index bad0a348083..1ebd3f48e5b 100644 --- a/usr.bin/ssh/dh.c +++ b/usr.bin/ssh/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/usr.bin/ssh/hostfile.c b/usr.bin/ssh/hostfile.c index c067f5e11f5..33516a64c22 100644 --- a/usr.bin/ssh/hostfile.c +++ b/usr.bin/ssh/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/usr.bin/ssh/includes.h b/usr.bin/ssh/includes.h index f3ff5e5e500..3a8c06264c4 100644 --- a/usr.bin/ssh/includes.h +++ b/usr.bin/ssh/includes.h @@ -1,4 +1,4 @@ -/* $OpenBSD: includes.h,v 1.56 2006/07/26 02:35:16 stevesk Exp $ */ +/* $OpenBSD: includes.h,v 1.57 2006/07/26 13:57:17 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -19,6 +19,5 @@ #include <sys/types.h> #include <stdio.h> -#include <stdlib.h> #endif /* INCLUDES_H */ diff --git a/usr.bin/ssh/kex.c b/usr.bin/ssh/kex.c index 08bd4b06845..a7f5ddd334f 100644 --- a/usr.bin/ssh/kex.c +++ b/usr.bin/ssh/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/usr.bin/ssh/log.c b/usr.bin/ssh/log.c index cc669c12fc4..f03c7ef2951 100644 --- a/usr.bin/ssh/log.c +++ b/usr.bin/ssh/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/usr.bin/ssh/misc.c b/usr.bin/ssh/misc.c index 654c9c4800b..30b0ebd8654 100644 --- a/usr.bin/ssh/misc.c +++ b/usr.bin/ssh/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. @@ -40,6 +40,7 @@ #include <paths.h> #include <pwd.h> #include <stdarg.h> +#include <stdlib.h> #include <string.h> #include <unistd.h> diff --git a/usr.bin/ssh/moduli.c b/usr.bin/ssh/moduli.c index 4d5576a1f36..7b6a7b89f37 100644 --- a/usr.bin/ssh/moduli.c +++ b/usr.bin/ssh/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/usr.bin/ssh/monitor.c b/usr.bin/ssh/monitor.c index 75d788ae0ba..43d73a6d5ad 100644 --- a/usr.bin/ssh/monitor.c +++ b/usr.bin/ssh/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 @@ #include <paths.h> #include <pwd.h> #include <signal.h> +#include <stdlib.h> #include <string.h> #ifdef SKEY diff --git a/usr.bin/ssh/packet.c b/usr.bin/ssh/packet.c index f1d134cf137..53cc7bcb1c1 100644 --- a/usr.bin/ssh/packet.c +++ b/usr.bin/ssh/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 @@ -51,6 +51,7 @@ #include <errno.h> #include <stdarg.h> +#include <stdlib.h> #include <string.h> #include <unistd.h> diff --git a/usr.bin/ssh/readpass.c b/usr.bin/ssh/readpass.c index e3d44222e5e..83cb0b960f2 100644 --- a/usr.bin/ssh/readpass.c +++ b/usr.bin/ssh/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. * @@ -33,6 +33,7 @@ #include <paths.h> #include <readpassphrase.h> #include <stdarg.h> +#include <stdlib.h> #include <string.h> #include <unistd.h> diff --git a/usr.bin/ssh/scp.c b/usr.bin/ssh/scp.c index b5531d89508..70d36635793 100644 --- a/usr.bin/ssh/scp.c +++ b/usr.bin/ssh/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). @@ -86,6 +86,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/usr.bin/ssh/servconf.c b/usr.bin/ssh/servconf.c index cbde4804739..02419a4bcdd 100644 --- a/usr.bin/ssh/servconf.c +++ b/usr.bin/ssh/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/usr.bin/ssh/session.c b/usr.bin/ssh/session.c index 218fb7f1398..a88e75303d5 100644 --- a/usr.bin/ssh/session.c +++ b/usr.bin/ssh/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 @@ -47,6 +47,7 @@ #include <paths.h> #include <pwd.h> #include <signal.h> +#include <stdlib.h> #include <string.h> #include <unistd.h> diff --git a/usr.bin/ssh/sftp-server.c b/usr.bin/ssh/sftp-server.c index 0bdf1088f98..c1ff2cc1a31 100644 --- a/usr.bin/ssh/sftp-server.c +++ b/usr.bin/ssh/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. * @@ -24,6 +24,7 @@ #include <dirent.h> #include <errno.h> #include <fcntl.h> +#include <stdlib.h> #include <string.h> #include <time.h> #include <unistd.h> diff --git a/usr.bin/ssh/sftp.c b/usr.bin/ssh/sftp.c index fd87c8566c8..5da8126cb58 100644 --- a/usr.bin/ssh/sftp.c +++ b/usr.bin/ssh/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> * @@ -29,6 +29,7 @@ #include <histedit.h> #include <paths.h> #include <signal.h> +#include <stdlib.h> #include <string.h> #include <unistd.h> diff --git a/usr.bin/ssh/ssh-add.c b/usr.bin/ssh/ssh-add.c index 772b375d1f8..b1c80f4bb60 100644 --- a/usr.bin/ssh/ssh-add.c +++ b/usr.bin/ssh/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/usr.bin/ssh/ssh-agent.c b/usr.bin/ssh/ssh-agent.c index ca795f6bdee..4799ce50a0f 100644 --- a/usr.bin/ssh/ssh-agent.c +++ b/usr.bin/ssh/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 @@ -51,6 +51,7 @@ #include <fcntl.h> #include <paths.h> #include <signal.h> +#include <stdlib.h> #include <string.h> #include <time.h> #include <unistd.h> diff --git a/usr.bin/ssh/ssh-keygen.c b/usr.bin/ssh/ssh-keygen.c index b8ca60d36f8..c932e33c898 100644 --- a/usr.bin/ssh/ssh-keygen.c +++ b/usr.bin/ssh/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 @@ -24,6 +24,7 @@ #include <errno.h> #include <fcntl.h> #include <pwd.h> +#include <stdlib.h> #include <string.h> #include <unistd.h> diff --git a/usr.bin/ssh/ssh-keyscan.c b/usr.bin/ssh/ssh-keyscan.c index e818af77dcd..8d439b19956 100644 --- a/usr.bin/ssh/ssh-keyscan.c +++ b/usr.bin/ssh/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>. * @@ -21,6 +21,7 @@ #include <netdb.h> #include <setjmp.h> #include <stdarg.h> +#include <stdlib.h> #include <string.h> #include <unistd.h> diff --git a/usr.bin/ssh/ssh-keysign.c b/usr.bin/ssh/ssh-keysign.c index f574bb5572f..f53df681b31 100644 --- a/usr.bin/ssh/ssh-keysign.c +++ b/usr.bin/ssh/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. * @@ -33,6 +33,7 @@ #include <fcntl.h> #include <paths.h> #include <pwd.h> +#include <stdlib.h> #include <string.h> #include <unistd.h> diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c index bcdb2f11d73..7185d20f1ab 100644 --- a/usr.bin/ssh/ssh.c +++ b/usr.bin/ssh/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 @@ -57,6 +57,7 @@ #include <pwd.h> #include <signal.h> #include <stddef.h> +#include <stdlib.h> #include <string.h> #include <unistd.h> diff --git a/usr.bin/ssh/sshconnect.c b/usr.bin/ssh/sshconnect.c index a933c117ebd..bc876fb262f 100644 --- a/usr.bin/ssh/sshconnect.c +++ b/usr.bin/ssh/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 @@ -28,6 +28,7 @@ #include <netdb.h> #include <paths.h> #include <pwd.h> +#include <stdlib.h> #include <string.h> #include <unistd.h> diff --git a/usr.bin/ssh/sshconnect1.c b/usr.bin/ssh/sshconnect1.c index ab521621416..37024e7507c 100644 --- a/usr.bin/ssh/sshconnect1.c +++ b/usr.bin/ssh/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/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c index 1bb67252d9c..77886e7eac2 100644 --- a/usr.bin/ssh/sshd.c +++ b/usr.bin/ssh/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 @@ -57,6 +57,7 @@ #include <paths.h> #include <pwd.h> #include <signal.h> +#include <stdlib.h> #include <string.h> #include <openssl/dh.h> diff --git a/usr.bin/ssh/xmalloc.c b/usr.bin/ssh/xmalloc.c index 511a9e12a21..77e2d27c700 100644 --- a/usr.bin/ssh/xmalloc.c +++ b/usr.bin/ssh/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" |