siproxd: fix missing sys/time.h

Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
This commit is contained in:
Jiri Slachta 2014-07-18 21:06:48 +02:00
parent 93faf947ed
commit d152bdf38a
2 changed files with 13 additions and 3 deletions

View file

@ -1,5 +1,5 @@
# #
# Copyright (C) 2006-2011 OpenWrt.org # Copyright (C) 2014 OpenWrt.org
# #
# This is free software, licensed under the GNU General Public License v2. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=siproxd PKG_NAME:=siproxd
PKG_VERSION:=0.8.1 PKG_VERSION:=0.8.1
PKG_RELEASE:=3 PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/siproxd PKG_SOURCE_URL:=@SF/siproxd
@ -36,7 +36,7 @@ define Package/siproxd
endef endef
define Package/siproxd/description define Package/siproxd/description
Siproxd is a proxy/masquerading daemon for the SIP protocol. Siproxd is a proxy/masquerading daemon for the SIP protocol.
endef endef
define Package/siproxd/conffiles define Package/siproxd/conffiles

View file

@ -0,0 +1,10 @@
--- siproxd-0.8.1/src/dejitter.c
+++ siproxd-0.8.1/src/dejitter.c
@@ -24,6 +24,7 @@
#include <sys/types.h>
#include <sys/socket.h>
+#include <sys/time.h>
#include <netinet/in.h>
#include <osipparser2/osip_parser.h>