kamailio-3.x: fix build with musl
authorDaniel Golle <daniel@makrotopia.org>
Wed, 24 Jun 2015 12:38:52 +0000 (14:38 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Wed, 24 Jun 2015 12:38:52 +0000 (14:38 +0200)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
net/kamailio-3.x/patches/110-include-sys-time-h-in-ld_session-h.patch [new file with mode: 0644]

diff --git a/net/kamailio-3.x/patches/110-include-sys-time-h-in-ld_session-h.patch b/net/kamailio-3.x/patches/110-include-sys-time-h-in-ld_session-h.patch
new file mode 100644 (file)
index 0000000..a4857cf
--- /dev/null
@@ -0,0 +1,12 @@
+Index: kamailio3-3.3.7/modules_k/ldap/ld_session.h
+===================================================================
+--- kamailio3-3.3.7.orig/modules_k/ldap/ld_session.h
++++ kamailio3-3.3.7/modules_k/ldap/ld_session.h
+@@ -33,6 +33,7 @@
+ #ifndef LD_SESSION_H
+ #define LD_SESSION_H
++#include <sys/time.h>
+ #include <ldap.h>
+ #include "iniparser.h"