https://wiki.gentoo.org/wiki/Linux_headers_5.2_porting_notes/SIOCGSTAMP
Reported-by: Toralf Förster
Closes: https://bugs.gentoo.org/692428
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
--- /dev/null
+https://bugs.gentoo.org/692428
+--- a/irdadump/irdadump.c
++++ b/irdadump/irdadump.c
+@@ -27,6 +27,7 @@
+ #include <sys/types.h>
+ #include <sys/time.h>
+ #include <sys/ioctl.h>
++#include <linux/sockios.h> /* SIOCGSTAMP */
+
+ #include <net/if_arp.h>
+ #include <net/if_packet.h>
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
"${FILESDIR}/${P}-asneeded.patch"
"${FILESDIR}/${P}-ldflags.patch"
"${FILESDIR}/${P}-headers.patch"
+ "${FILESDIR}/${P}-SIOCGSTAMP.patch"
)
src_prepare() {