linux-atm: Include linux/sockios.h for SIOCGSTAMP
authorNorbert van Bolhuis <nvbolhuis@aimvalley.nl>
Fri, 3 Apr 2020 16:12:46 +0000 (18:12 +0200)
committerPetr Štetiar <ynezz@true.cz>
Wed, 8 Apr 2020 22:12:46 +0000 (00:12 +0200)
commit9aa3d5b3458a7d00fdcde69f1f417261707aa914
treedd1385ed6b64bcbc2ed43121a66c47e4e821430f
parent2bdd66975260f98a39772e47744f76cf55ccdfec
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>
package/network/utils/linux-atm/patches/800-include_sockios.patch [new file with mode: 0644]