summaryrefslogtreecommitdiffstats
path: root/auth-rhosts.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 /auth-rhosts.c
parentf2c16d30b456c3b149999e91d16bf28f82197d3f (diff)
- 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 'auth-rhosts.c')
-rw-r--r--auth-rhosts.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/auth-rhosts.c b/auth-rhosts.c
index bbddfb6d..5c129670 100644
--- a/auth-rhosts.c
+++ b/auth-rhosts.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth-rhosts.c,v 1.42 2008/06/13 04:40:22 djm Exp $ */
+/* $OpenBSD: auth-rhosts.c,v 1.43 2008/06/13 14:18:51 dtucker Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -27,6 +27,7 @@
#include <string.h>
#include <stdarg.h>
#include <fcntl.h>
+#include <unistd.h>
#include "packet.h"
#include "buffer.h"