summaryrefslogtreecommitdiffstats
path: root/auth-rhosts.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2022-02-23 22:21:49 +0100
committerDamien Miller <djm@mindrot.org>2022-02-23 22:24:17 +0100
commit3383b2cac0e9275bc93c4b4760e6e048f537e1d6 (patch)
treef7c034d9ffa04f1c5e4da85c73535f0b01ec9c53 /auth-rhosts.c
parentupstream: put back the scp manpage changes for SFTP mode too (diff)
downloadopenssh-3383b2cac0e9275bc93c4b4760e6e048f537e1d6.tar.xz
openssh-3383b2cac0e9275bc93c4b4760e6e048f537e1d6.zip
upstream: free(3) wants stdlib.h
OpenBSD-Commit-ID: 227a8c70a95b4428c49e46863c9ef4bd318a3b8a
Diffstat (limited to '')
-rw-r--r--auth-rhosts.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/auth-rhosts.c b/auth-rhosts.c
index cac5cd84d..4fc9252a6 100644
--- a/auth-rhosts.c
+++ b/auth-rhosts.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth-rhosts.c,v 1.55 2022/02/23 11:15:57 djm Exp $ */
+/* $OpenBSD: auth-rhosts.c,v 1.56 2022/02/23 21:21:49 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -19,6 +19,7 @@
#include <sys/types.h>
#include <sys/stat.h>
+#include <fcntl.h>
#ifdef HAVE_NETGROUP_H
# include <netgroup.h>
#endif
@@ -26,7 +27,7 @@
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
-#include <fcntl.h>
+#include <stdlib.h>
#include <unistd.h>
#include "packet.h"