summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/auth2-pubkey.c
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2019-09-06 04:53:28 +0000
committerDamien Miller <djm@cvs.openbsd.org>2019-09-06 04:53:28 +0000
commit464e83cf71ceb9a52efd400f06dba6ae6b47401b (patch)
tree34969c6bc79e30d747551ba0e644493e514ac895 /usr.bin/ssh/auth2-pubkey.c
parentbb190f41db2e37f97c78bd6cccc26fea2e3a8b3b (diff)
lots of things were relying on libcrypto headers to transitively
include various system headers (mostly stdlib.h); include them explicitly
Diffstat (limited to 'usr.bin/ssh/auth2-pubkey.c')
-rw-r--r--usr.bin/ssh/auth2-pubkey.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/auth2-pubkey.c b/usr.bin/ssh/auth2-pubkey.c
index d618289676d..455dee1be38 100644
--- a/usr.bin/ssh/auth2-pubkey.c
+++ b/usr.bin/ssh/auth2-pubkey.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth2-pubkey.c,v 1.93 2019/09/03 08:30:47 djm Exp $ */
+/* $OpenBSD: auth2-pubkey.c,v 1.94 2019/09/06 04:53:27 djm Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
*
@@ -27,6 +27,7 @@
#include <sys/types.h>
#include <sys/stat.h>
+#include <stdlib.h>
#include <errno.h>
#include <fcntl.h>
#include <paths.h>