sed -i ... SIOCGSTAMP ...: In linux-5.2 the definitions of SIOCGSTAMP and SIOCGSTAMPNS were moved from <sys/socket.h> which packages have traditionally included to get them. The sed(s) to hard-code the values enable the package to compile correctly.