From: Daniel Golle Date: Wed, 24 Jun 2015 13:02:46 +0000 (+0200) Subject: kamailio-4.x: fix build with musl X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a29cd3fec082f2d2c462296596ed8b7dc13c2d99;p=feed%2Ftelephony.git kamailio-4.x: fix build with musl Signed-off-by: Daniel Golle --- 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 */