1 Fix build failure against linux-5.2+:
2 https://www.spinics.net/lists/linux-sh/msg53430.html
4 --- a/src/maint/atmdump.c
5 +++ b/src/maint/atmdump.c
7 #include <netinet/in.h> /* for htonl and ntohl */
11 +/* linux-5.2+ added support for 64-bit time_t into ioctls
12 + that support 'struct timeval' and removed 'SIOCGSTAMP'
15 + Include 'SIOCGSTAMP' wrapper via linux/sockios.h
18 +# include <linux/sockios.h>
21 static const char *pti[] = { "Data SDU 0","Data SDU 1","Data SDU 0, CE",
22 "Data SDU 1, CE","Segment OAM F5","End-to-end OAM F5","Reserved (RM)",
23 --- a/src/maint/saaldump.c
24 +++ b/src/maint/saaldump.c
27 #define MAX_ITEM 2048 /* longest string emitted by q.dump */
30 +/* linux-5.2+ added support for 64-bit time_t into ioctls
31 + that support 'struct timeval' and removed 'SIOCGSTAMP'
34 + Include 'SIOCGSTAMP' wrapper via linux/sockios.h
37 +# include <linux/sockios.h>
40 static int interval = 0; /* display absolute time by default */
41 static int quiet = 0; /* decode Q.2931 messages by default */