kamailio-3.x: fix build with musl

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle 2015-06-24 14:38:52 +02:00
parent d1c2023088
commit b8b82d8f93
1 changed files with 12 additions and 0 deletions

View File

@ -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"