summaryrefslogtreecommitdiffstats
path: root/auth2-pubkey.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2008-06-14 01:01:24 +0200
committerDarren Tucker <dtucker@zip.com.au>2008-06-14 01:01:24 +0200
commitd9526a5e96e4515afec28df42b13d08bd02f754a (patch)
tree2077d0054b8891a6faf68e46427b345ed904be54 /auth2-pubkey.c
parent - dtucker@cvs.openbsd.org 2008/06/13 13:56:59 (diff)
downloadopenssh-d9526a5e96e4515afec28df42b13d08bd02f754a.tar.xz
openssh-d9526a5e96e4515afec28df42b13d08bd02f754a.zip
- dtucker@cvs.openbsd.org 2008/06/13 14:18:51
[auth2-pubkey.c auth-rhosts.c] Include unistd.h for close(), prevents warnings in -portable
Diffstat (limited to 'auth2-pubkey.c')
-rw-r--r--auth2-pubkey.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/auth2-pubkey.c b/auth2-pubkey.c
index 7f7ddd8cf..306515000 100644
--- a/auth2-pubkey.c
+++ b/auth2-pubkey.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth2-pubkey.c,v 1.16 2008/06/13 04:40:22 djm Exp $ */
+/* $OpenBSD: auth2-pubkey.c,v 1.17 2008/06/13 14:18:51 dtucker Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
*
@@ -32,6 +32,7 @@
#include <pwd.h>
#include <stdio.h>
#include <stdarg.h>
+#include <unistd.h>
#include "xmalloc.h"
#include "ssh.h"