Merge pull request #76 from jow-/sipp-musl-compat
sipp: fix musl compatibility
This commit is contained in:
commit
032c66c0b2
|
@ -1,5 +1,5 @@
|
||||||
#
|
#
|
||||||
# Copyright (C) 2013 OpenWrt.org
|
# Copyright (C) 2013-2015 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:=sipp
|
PKG_NAME:=sipp
|
||||||
PKG_VERSION:=3.3.990
|
PKG_VERSION:=3.3.990
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=@SF/sipp
|
PKG_SOURCE_URL:=@SF/sipp
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
--- a/src/auth.c
|
||||||
|
+++ b/src/auth.c
|
||||||
|
@@ -22,9 +22,7 @@
|
||||||
|
* Frederique Aurouet
|
||||||
|
*/
|
||||||
|
|
||||||
|
-#if defined( __FreeBSD__) || defined(__DARWIN) || defined(__SUNOS)
|
||||||
|
#include <sys/types.h>
|
||||||
|
-#endif
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
Loading…
Reference in New Issue