From 6783f9eec5c6abd6c134793457d9c4d7bc6ad8a0 Mon Sep 17 00:00:00 2001 From: SJ Date: Fri, 21 Oct 2016 07:41:30 +0200 Subject: [PATCH] freebsd compile fix Change-Id: I86c8f7dbf477200883be39bbc0fb5deb6b027a17 Signed-off-by: SJ --- configure.in | 2 +- src/extract.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 3e739634..156f6dbd 100644 --- a/configure.in +++ b/configure.in @@ -372,7 +372,7 @@ dnl let us know if we are building on FreeBSD if test "$os" = "FreeBSD"; then defs="$defs -DFREEBSD" - antispam_libs="-lz -lm -lcrypto -lssl" + antispam_libs="-lz -lm -lcrypto -lssl -liconv" MAKE="gmake" fi diff --git a/src/extract.c b/src/extract.c index d4b5e52f..01ac1d15 100644 --- a/src/extract.c +++ b/src/extract.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #ifdef HAVE_ZIP