|
|
|
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 <arpa/inet.h>
|
|
|
|
+#include <netinet/in.h>
|
|
|
|
#include <netdb.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <string.h>
|
|
|
|
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 <sys/types.h>
|
|
|
|
+#include <sys/file.h>
|
|
|
|
+#include <netinet/in.h>
|
|
|
|
#include <errno.h>
|
|
|
|
#include <fcntl.h>
|
|
|
|
#include <string.h>
|
|
|
|
-#include <sys/file.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
|
|
|
|
#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 <stdio.h>
|
|
|
|
+#define __XSI_VISIBLE 1
|
|
|
|
#include <sys/time.h>
|
|
|
|
|
|
|
|
#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 <sys/types.h>
|
|
|
|
#include <errno.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|