From f33a4041c9da689c7485d1e7a8f7f22bd848c1d8 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Wed, 24 Jun 2015 15:02:46 +0200 Subject: [PATCH] kamailio-4.x: fix build with musl Signed-off-by: Daniel Golle --- .../110-include-sys-time-h-in-ld_session-h.patch | 10 ++++++++++ .../patches/111-include-sys-time-h-in-sercmd-c.patch | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100644 net/kamailio-4.x/patches/110-include-sys-time-h-in-ld_session-h.patch create mode 100644 net/kamailio-4.x/patches/111-include-sys-time-h-in-sercmd-c.patch diff --git a/net/kamailio-4.x/patches/110-include-sys-time-h-in-ld_session-h.patch b/net/kamailio-4.x/patches/110-include-sys-time-h-in-ld_session-h.patch new file mode 100644 index 0000000..2dab8d1 --- /dev/null +++ b/net/kamailio-4.x/patches/110-include-sys-time-h-in-ld_session-h.patch @@ -0,0 +1,10 @@ +--- a/modules/ldap/ld_session.h ++++ b/modules/ldap/ld_session.h +@@ -33,6 +33,7 @@ + #ifndef LD_SESSION_H + #define LD_SESSION_H + ++#include + #include + + #include "iniparser.h" diff --git a/net/kamailio-4.x/patches/111-include-sys-time-h-in-sercmd-c.patch b/net/kamailio-4.x/patches/111-include-sys-time-h-in-sercmd-c.patch new file mode 100644 index 0000000..c4e4487 --- /dev/null +++ b/net/kamailio-4.x/patches/111-include-sys-time-h-in-sercmd-c.patch @@ -0,0 +1,10 @@ +--- a/utils/sercmd/sercmd.c ++++ b/utils/sercmd/sercmd.c +@@ -43,6 +43,7 @@ + #include + #include /* isprint */ + #include ++#include /* struct timeval */ + #include /* unix sock*/ + #include /* udp sock */ + #include /* writev */ -- 2.30.2