diff options
author | Jon Simons <jon@jonsimons.org> | 2014-10-13 03:06:39 -0700 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2014-10-15 10:26:24 +0200 |
commit | a25790d34388d4f71371655d21a38d283ad4d85e (patch) | |
tree | ad6bdc904fbc22e52126a0e7363a71b1afe1c0b4 /tests/pkd/pkd_util.c | |
parent | cd2dc3770a49fc4487cbb0625003983e43520ec7 (diff) | |
download | libssh-a25790d34388d4f71371655d21a38d283ad4d85e.tar.gz libssh-a25790d34388d4f71371655d21a38d283ad4d85e.tar.xz libssh-a25790d34388d4f71371655d21a38d283ad4d85e.zip |
tests: fix pkd build breakages
Fix a build breakage when '-DWITH_SERVER=OFF' is set: skip building the
pkd test for that case. Add some missing includes for the OpenIndiana
and FreeBSD builds.
Signed-off-by: Jon Simons <jon@jonsimons.org>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'tests/pkd/pkd_util.c')
-rw-r--r-- | tests/pkd/pkd_util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/pkd/pkd_util.c b/tests/pkd/pkd_util.c index 95d3be65..963b58d6 100644 --- a/tests/pkd/pkd_util.c +++ b/tests/pkd/pkd_util.c @@ -7,6 +7,7 @@ #include <signal.h> #include <stdio.h> #include <stdlib.h> +#include <sys/wait.h> #include "pkd_client.h" #include "pkd_util.h" |