Index: src/Makefile --- src/Makefile.orig 2019-04-19 03:26:02.000000000 +0200 +++ src/Makefile 2019-04-20 09:21:58.297386000 +0200 @@ -47,7 +47,7 @@ LDEXTRA = # Concatenate options for easy usage -LDFLAGS = -lcrypto -lssl -lxml2 -lz $(LDPERL) $(LDEXTRA) +LDFLAGS = -lssl -lcrypto -lxml2 -liconv -lz $(LDPERL) $(LDEXTRA) #################################################################################################################################### # Install options Index: src/common/io/tls/client.c --- src/common/io/tls/client.c.orig 2019-04-19 03:26:02.000000000 +0200 +++ src/common/io/tls/client.c 2019-04-20 09:17:10.443337000 +0200 @@ -2,6 +2,7 @@ TLS Client ***********************************************************************************************************************************/ #include +#include #include #include #include Index: src/common/lock.c --- src/common/lock.c.orig 2019-04-19 03:26:02.000000000 +0200 +++ src/common/lock.c 2019-04-20 09:19:27.199486000 +0200 @@ -1,10 +1,13 @@ /*********************************************************************************************************************************** Lock Handler ***********************************************************************************************************************************/ +#undef _POSIX_C_SOURCE +#include +#include +#include #include #include #include -#include #include #include "common/debug.h" Index: src/common/time.c --- src/common/time.c.orig 2019-04-19 03:26:02.000000000 +0200 +++ src/common/time.c 2019-04-20 09:20:33.174548000 +0200 @@ -2,6 +2,7 @@ Time Management ***********************************************************************************************************************************/ #include +#define __XSI_VISIBLE 1 #include #include "common/debug.h" Index: src/perl/exec.c --- src/perl/exec.c.orig 2019-04-19 03:26:02.000000000 +0200 +++ src/perl/exec.c 2019-04-20 09:21:08.812044000 +0200 @@ -1,6 +1,8 @@ /*********************************************************************************************************************************** Execute Perl for Legacy Functionality ***********************************************************************************************************************************/ +#undef _POSIX_C_SOURCE +#include #include #include #include