aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorNorbert van Bolhuis <nvbolhuis@aimvalley.nl>2020-04-03 18:12:46 +0200
committerPetr Štetiar <ynezz@true.cz>2020-04-09 00:12:46 +0200
commit9aa3d5b3458a7d00fdcde69f1f417261707aa914 (patch)
treedd1385ed6b64bcbc2ed43121a66c47e4e821430f /package
parent2bdd66975260f98a39772e47744f76cf55ccdfec (diff)
downloadupstream-9aa3d5b3458a7d00fdcde69f1f417261707aa914.tar.gz
upstream-9aa3d5b3458a7d00fdcde69f1f417261707aa914.tar.bz2
upstream-9aa3d5b3458a7d00fdcde69f1f417261707aa914.zip
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 <nvbolhuis@aimvalley.nl>
Diffstat (limited to 'package')
-rw-r--r--package/network/utils/linux-atm/patches/800-include_sockios.patch21
1 files changed, 21 insertions, 0 deletions
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 0000000000..edb385ca10
--- /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 <config.h>
+ #endif
+
++#include <linux/sockios.h>
+ #include <stdlib.h>
+ #include <stdarg.h>
+ #include <stdio.h>
+--- 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 <config.h>
+ #endif
+
++#include <linux/sockios.h>
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <unistd.h>
+