On Fri, 2019-06-07 at 09:51 +0200, Bastien Nocera wrote: > The 32-bit SIOCGSTAMP has been deprecated. Use the deprecated name > to fix the build. Without this patch (or a port to the new 64-bit timestamps) you'd get this error on newer glibcs: BUILDSTDERR: tools/rctest.c: In function 'recv_mode': BUILDSTDERR: tools/rctest.c:507:19: error: 'SIOCGSTAMP' undeclared (first use in this function); did you mean 'SIOCGARP'? BUILDSTDERR: 507 | if (ioctl(sk, SIOCGSTAMP, &tv) < 0) { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | SIOCGARP BUILDSTDERR: tools/rctest.c:507:19: note: each undeclared identifier is reported only once for each function it appears in BUILDSTDERR: make[1]: *** [Makefile:6224: tools/rctest.o] Error 1 BUILDSTDERR: make[1]: *** Waiting for unfinished jobs.... BUILDSTDERR: tools/l2test.c: In function 'recv_mode': BUILDSTDERR: tools/l2test.c:909:19: error: 'SIOCGSTAMP' undeclared (first use in this function); did you mean 'SIOCGARP'? BUILDSTDERR: 909 | if (ioctl(sk, SIOCGSTAMP, &tv) < 0) { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | SIOCGARP BUILDSTDERR: tools/l2test.c:909:19: note: each undeclared identifier is reported only once for each function it appears in Given that those are tests that there's another 19 years to port, and that I don't know how to test, I went for the quickest fix.