aboutsummaryrefslogtreecommitdiffstats
path: root/package/network
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2019-07-17 18:37:17 -0700
committerHauke Mehrtens <hauke@hauke-m.de>2019-08-05 23:22:26 +0200
commit1b1c47577bac99bdd8ab9ecde928ab0398f78799 (patch)
tree7bad6b6bdabd2d2a38c87a95db71b10ffd780816 /package/network
parentaa4f68ac9199fe20168dfd305cf5140f919bf0b3 (diff)
downloadupstream-1b1c47577bac99bdd8ab9ecde928ab0398f78799.tar.gz
upstream-1b1c47577bac99bdd8ab9ecde928ab0398f78799.tar.bz2
upstream-1b1c47577bac99bdd8ab9ecde928ab0398f78799.zip
linux-atm: Add missing headers
This fixes compilation with -Werror=implicit-function-declaration. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'package/network')
-rw-r--r--package/network/utils/linux-atm/Makefile2
-rw-r--r--package/network/utils/linux-atm/patches/700-musl-include.patch30
2 files changed, 31 insertions, 1 deletions
diff --git a/package/network/utils/linux-atm/Makefile b/package/network/utils/linux-atm/Makefile
index f2ad888e4e..c74febcbbc 100644
--- a/package/network/utils/linux-atm/Makefile
+++ b/package/network/utils/linux-atm/Makefile
@@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=linux-atm
PKG_VERSION:=2.5.2
-PKG_RELEASE:=6
+PKG_RELEASE:=7
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/$(PKG_NAME)
diff --git a/package/network/utils/linux-atm/patches/700-musl-include.patch b/package/network/utils/linux-atm/patches/700-musl-include.patch
new file mode 100644
index 0000000000..2b2268d8ac
--- /dev/null
+++ b/package/network/utils/linux-atm/patches/700-musl-include.patch
@@ -0,0 +1,30 @@
+--- a/src/include/atmd.h
++++ b/src/include/atmd.h
+@@ -10,6 +10,7 @@
+
+ #include <stdint.h>
+ #include <stdio.h>
++#include <string.h>
+ #include <sys/types.h>
+ #include <sys/time.h>
+
+--- a/src/lib/unix.c
++++ b/src/lib/unix.c
+@@ -8,6 +8,7 @@
+
+ #include <stdlib.h>
+ #include <stdio.h>
++#include <string.h>
+ #include <unistd.h>
+ #include <errno.h>
+ #include <sys/types.h>
+--- a/src/sigd/kernel.c
++++ b/src/sigd/kernel.c
+@@ -8,6 +8,7 @@
+
+ #include <stdlib.h>
+ #include <stdio.h>
++#include <string.h>
+ #include <errno.h>
+ #include <assert.h>
+