aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2015-04-10 13:06:43 +0200
committerAndreas Schneider <asn@cryptomilk.org>2015-04-10 13:07:12 +0200
commitb1cb8de3858b4fb6878f3e10e7b749ef55b2574c (patch)
tree2762f4998ca352d8d1755dd58523f9849bf2c820 /src
parent69c9cd029f487b682d82b82aa4e6833017387fcd (diff)
downloadlibssh-b1cb8de3858b4fb6878f3e10e7b749ef55b2574c.tar.gz
libssh-b1cb8de3858b4fb6878f3e10e7b749ef55b2574c.tar.xz
libssh-b1cb8de3858b4fb6878f3e10e7b749ef55b2574c.zip
cmake: Check for sys/param.h header file
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src')
-rw-r--r--src/external/bcrypt_pbkdf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/external/bcrypt_pbkdf.c b/src/external/bcrypt_pbkdf.c
index 7dbcaca2..409265cb 100644
--- a/src/external/bcrypt_pbkdf.c
+++ b/src/external/bcrypt_pbkdf.c
@@ -23,7 +23,9 @@
#include "libssh/wrapper.h"
#include <stdlib.h>
#include <sys/types.h>
+#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
+#endif
#include "libssh/blf.h"
#include "libssh/pki_priv.h"