From 9aa3d5b3458a7d00fdcde69f1f417261707aa914 Mon Sep 17 00:00:00 2001 From: Norbert van Bolhuis Date: Fri, 3 Apr 2020 18:12:46 +0200 Subject: [PATCH] linux-atm: Include linux/sockios.h for SIOCGSTAMP Since linux kernel commit 0768e17073dc527ccd18ed5f96ce85f9985e9115 (2019-04-19) the asm-generic/sockios.h header no longer defines SIOCGSTAMP. Instead it provides only SIOCGSTAMP_OLD. The linux/sockios.h header now defines SIOCGSTAMP using either SIOCGSTAMP_OLD or SIOCGSTAMP_NEW as appropriate. This linux only header file is not included so we get a build failure. Signed-off-by: Norbert van Bolhuis --- .../patches/800-include_sockios.patch | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 package/network/utils/linux-atm/patches/800-include_sockios.patch diff --git a/package/network/utils/linux-atm/patches/800-include_sockios.patch b/package/network/utils/linux-atm/patches/800-include_sockios.patch new file mode 100644 index 000000000000..edb385ca104a --- /dev/null +++ b/package/network/utils/linux-atm/patches/800-include_sockios.patch @@ -0,0 +1,21 @@ +--- a/src/maint/saaldump.c 2020-03-29 22:58:01.089711789 +0200 ++++ b/src/maint/saaldump.c 2020-03-29 22:59:17.564639387 +0200 +@@ -6,6 +6,7 @@ + #include + #endif + ++#include + #include + #include + #include +--- a/src/maint/atmdump.c 2020-03-29 22:58:18.573694469 +0200 ++++ b/src/maint/atmdump.c 2020-03-29 22:58:49.956729365 +0200 +@@ -6,6 +6,7 @@ + #include + #endif + ++#include + #include + #include + #include + -- 2.30.2