]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: free(3) wants stdlib.h
authordjm@openbsd.org <djm@openbsd.org>
Wed, 23 Feb 2022 21:21:49 +0000 (21:21 +0000)
committerDamien Miller <djm@mindrot.org>
Wed, 23 Feb 2022 21:24:35 +0000 (08:24 +1100)
OpenBSD-Commit-ID: 227a8c70a95b4428c49e46863c9ef4bd318a3b8a

auth-rhosts.c

index cac5cd84d868eac1e158bb762d7d2ed9055cafed..4fc9252a6b617b8f797218faf8dd3be5125911a1 100644 (file)
@@ -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"