freebsd compile fix

Change-Id: I86c8f7dbf477200883be39bbc0fb5deb6b027a17
Signed-off-by: SJ <sj@acts.hu>
This commit is contained in:
SJ 2016-10-21 07:41:30 +02:00
parent 1d488ec4f0
commit a55419a4c7
2 changed files with 2 additions and 1 deletions

View File

@ -372,7 +372,7 @@ dnl let us know if we are building on FreeBSD
if test "$os" = "FreeBSD"; then if test "$os" = "FreeBSD"; then
defs="$defs -DFREEBSD" defs="$defs -DFREEBSD"
antispam_libs="-lz -lm -lcrypto -lssl" antispam_libs="-lz -lm -lcrypto -lssl -liconv"
MAKE="gmake" MAKE="gmake"
fi fi

View File

@ -9,6 +9,7 @@
#include <dirent.h> #include <dirent.h>
#include <fcntl.h> #include <fcntl.h>
#include <ctype.h> #include <ctype.h>
#include <signal.h>
#include <piler.h> #include <piler.h>
#ifdef HAVE_ZIP #ifdef HAVE_ZIP