telldus-core: add missing include
authorRosen Penev <redacted>
Mon, 19 Sep 2022 03:06:20 +0000 (20:06 -0700)
committerRosen Penev <redacted>
Mon, 19 Sep 2022 05:57:43 +0000 (22:57 -0700)
Needed for memset.

Signed-off-by: Rosen Penev <redacted>
utils/telldus-core/Makefile
utils/telldus-core/patches/100-add_includes.patch

index 8ae70d49cd4bfe92c65a2b37c082bb05b03a17df..028d6ff9f39a0f01a1f30e5341d2d9588c117b55 100644 (file)
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=telldus-core
 PKG_VERSION:=2.1.2
-PKG_RELEASE:=7
+PKG_RELEASE:=8
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://download.telldus.com/TellStick/Software/telldus-core/
index f4e82329f0577df39eb6ad69f19d2db30517d863..30b46a16fb5112eead5fac3dce0ae0613db08972 100644 (file)
@@ -1,7 +1,7 @@
 Added missing includes required by openwrt. Expected to be portable.
 --- a/common/Socket_unix.cpp
 +++ b/common/Socket_unix.cpp
-@@ -8,6 +8,7 @@
+@@ -8,9 +8,11 @@
  #include <stdio.h>
  #include <unistd.h>
  #include <sys/socket.h>
@@ -9,6 +9,10 @@ Added missing includes required by openwrt. Expected to be portable.
  #include <sys/un.h>
  #include <fcntl.h>
  #include <math.h>
++#include <cstring>
+ #include <string>
+ #include "common/Socket.h"
 --- a/service/ConnectionListener_unix.cpp
 +++ b/service/ConnectionListener_unix.cpp
 @@ -13,6 +13,7 @@
git clone https://git.99rst.org/PROJECT