summaryrefslogtreecommitdiffstats
path: root/auth2-pubkey.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2019-09-06 04:53:27 +0000
committerDamien Miller <djm@mindrot.org>2019-09-06 17:54:21 +1000
commitbe02d7cbde3d211ec2ed2320a1f7d86b2339d758 (patch)
tree69c45ebcf222fd0658c90d2a5bfbeff5f7a1ee36 /auth2-pubkey.c
parentd05aaaaadcad592abfaa44540928e0c61ef72ebb (diff)
upstream: lots of things were relying on libcrypto headers to
transitively include various system headers (mostly stdlib.h); include them explicitly OpenBSD-Commit-ID: 5b522f4f2d844f78bf1cc4f3f4cc392e177b2080
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 d567f527..df12c2c6 100644
--- a/auth2-pubkey.c
+++ b/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.
*
@@ -28,6 +28,7 @@
#include <sys/types.h>
#include <sys/stat.h>
+#include <stdlib.h>
#include <errno.h>
#include <fcntl.h>
#ifdef HAVE_PATHS_H