summaryrefslogtreecommitdiff
path: root/ssh_api.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 /ssh_api.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 'ssh_api.c')
-rw-r--r--ssh_api.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/ssh_api.c b/ssh_api.c
index 57509973b..255adc6cf 100644
--- a/ssh_api.c
+++ b/ssh_api.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh_api.c,v 1.15 2019/01/21 10:38:54 djm Exp $ */ 1/* $OpenBSD: ssh_api.c,v 1.16 2019/09/06 04:53:27 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2012 Markus Friedl. All rights reserved. 3 * Copyright (c) 2012 Markus Friedl. All rights reserved.
4 * 4 *
@@ -17,6 +17,11 @@
17 17
18#include "includes.h" 18#include "includes.h"
19 19
20#include <sys/types.h>
21
22#include <stdio.h>
23#include <stdlib.h>
24
20#include "ssh_api.h" 25#include "ssh_api.h"
21#include "compat.h" 26#include "compat.h"
22#include "log.h" 27#include "log.h"