From 1b1c47577bac99bdd8ab9ecde928ab0398f78799 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 17 Jul 2019 18:37:17 -0700 Subject: [PATCH] linux-atm: Add missing headers This fixes compilation with -Werror=implicit-function-declaration. Signed-off-by: Rosen Penev --- package/network/utils/linux-atm/Makefile | 2 +- .../linux-atm/patches/700-musl-include.patch | 30 +++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 package/network/utils/linux-atm/patches/700-musl-include.patch diff --git a/package/network/utils/linux-atm/Makefile b/package/network/utils/linux-atm/Makefile index f2ad888e4e41..c74febcbbc39 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 000000000000..2b2268d8ac1d --- /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 + #include ++#include + #include + #include + +--- a/src/lib/unix.c ++++ b/src/lib/unix.c +@@ -8,6 +8,7 @@ + + #include + #include ++#include + #include + #include + #include +--- a/src/sigd/kernel.c ++++ b/src/sigd/kernel.c +@@ -8,6 +8,7 @@ + + #include + #include ++#include + #include + #include + -- 2.30.2