summaryrefslogtreecommitdiff
path: root/auth2-pubkey.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2008-06-14 09:01:24 +1000
committerDarren Tucker <dtucker@zip.com.au>2008-06-14 09:01:24 +1000
commitd9526a5e96e4515afec28df42b13d08bd02f754a (patch)
tree2077d0054b8891a6faf68e46427b345ed904be54 /auth2-pubkey.c
parentf2c16d30b456c3b149999e91d16bf28f82197d3f (diff)
downloadopenssh-git-d9526a5e96e4515afec28df42b13d08bd02f754a.tar.gz
- 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 7f7ddd8c..30651500 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"