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