summaryrefslogtreecommitdiffstats
path: root/auth.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 /auth.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 'auth.c')
-rw-r--r--auth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/auth.c b/auth.c
index b41d39cd..61fb1feb 100644
--- a/auth.c
+++ b/auth.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth.c,v 1.139 2019/06/28 13:35:04 deraadt Exp $ */
+/* $OpenBSD: auth.c,v 1.140 2019/09/06 04:53:27 djm Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
*
@@ -32,6 +32,7 @@
#include <netinet/in.h>
+#include <stdlib.h>
#include <errno.h>
#include <fcntl.h>
#ifdef HAVE_PATHS_H