From 078a4fe68b33b50e16a674a4e83700bac2e5db01 Mon Sep 17 00:00:00 2001 From: gambas Date: Wed, 29 Aug 2018 11:46:02 +0200 Subject: [PATCH] Fix merge request !36 made by Bastian Germann. [GB.CRYPT] * BUG: Fix merge request !36 made by Bastian Germann. --- gb.crypt/configure.ac | 1 + gb.crypt/src/c_crypt.c | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/gb.crypt/configure.ac b/gb.crypt/configure.ac index 5b6cd3817..7191d00e1 100644 --- a/gb.crypt/configure.ac +++ b/gb.crypt/configure.ac @@ -9,6 +9,7 @@ AC_PROG_LIBTOOL GB_COMPONENT( crypt, CRYPT, gb.crypt, [src], + [], [GB_FIND(libcrypt.$SHLIBEXT, $prefix /usr/local /usr, lib)], [-lcrypt]) diff --git a/gb.crypt/src/c_crypt.c b/gb.crypt/src/c_crypt.c index 9355f835e..a3e8b539a 100644 --- a/gb.crypt/src/c_crypt.c +++ b/gb.crypt/src/c_crypt.c @@ -28,6 +28,10 @@ #include #include +#ifndef OS_BSD +#include +#endif + #include "gb_common.h" #include "c_crypt.h"