mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 09:12:39 +00:00
9aa3d5b345
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>
22 lines
523 B
Diff
22 lines
523 B
Diff
--- 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>
|
|
|