blob: 3230c13dfc9390b641bd74d30a39c8d536627c4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- ethtool-6.14.orig/netlink/permaddr.c 2022-12-08 13:20:15.000000000 +0100
+++ ethtool-6.14/netlink/permaddr.c 2025-04-09 09:17:36.070462620 +0200
@@ -4,9 +4,11 @@
* Implementation of "ethtool -P <dev>"
*/
+#define _BSD_SOURCE
#include <errno.h>
#include <string.h>
#include <stdio.h>
+#include <unistd.h>
#include <linux/rtnetlink.h>
#include <linux/if_link.h>
|