summaryrefslogtreecommitdiff
path: root/regress/misc
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2016-07-13 14:42:35 +1000
committerDarren Tucker <dtucker@zip.com.au>2016-07-13 14:42:35 +1000
commit6310ef27a2567cda66d6cf0c1ad290ee1167f243 (patch)
treea84f11401272e0eb9717008e6d2d69c426e72aea /regress/misc
parentf3f2cc8386868f51440c45210098f65f9787449a (diff)
Move err.h replacements into compat lib.
Move implementations of err.h replacement functions into their own file in the libopenbsd-compat so we can use them in kexfuzz.c too. ok djm@
Diffstat (limited to 'regress/misc')
-rw-r--r--regress/misc/kexfuzz/kexfuzz.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/regress/misc/kexfuzz/kexfuzz.c b/regress/misc/kexfuzz/kexfuzz.c
index e6751d31c..2894d3a1e 100644
--- a/regress/misc/kexfuzz/kexfuzz.c
+++ b/regress/misc/kexfuzz/kexfuzz.c
@@ -17,7 +17,9 @@
17#include <string.h> 17#include <string.h>
18#include <unistd.h> 18#include <unistd.h>
19#include <fcntl.h> 19#include <fcntl.h>
20#include <err.h> 20#ifdef HAVE_ERR_H
21# include <err.h>
22#endif
21 23
22#include "ssherr.h" 24#include "ssherr.h"
23#include "ssh_api.h" 25#include "ssh_api.h"