Add missing header for musl.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
-
#
# Copyright (C) 2016 OpenWrt.org
#
include $(TOPDIR)/rules.mk
PKG_NAME:=upmpdcli
-PKG_VERSION:=1.4.14
+PKG_VERSION:=1.5.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://www.lesbonscomptes.com/upmpdcli/downloads
-PKG_HASH:=e3d90dedee6a942acc049324ca81b7f008d217d386a3e2590a2ca5670cc9df05
+PKG_HASH:=c971ed29cf00ebe70b6461f30ec4b9d58e0acaf52c6fd452876678bb6fe53009
PKG_MAINTAINER:=Petko Bordjukov <bordjukov@gmail.com>
PKG_LICENSE:=LGPL-2.1-or-later
--- /dev/null
+--- a/src/upmpdutils.hxx
++++ b/src/upmpdutils.hxx
+@@ -21,6 +21,8 @@
+ #include <unordered_map>
+ #include <vector>
+
++#include <unistd.h>
++
+ namespace UPnPClient {
+ class UPnPDirObject;
+ };