diff options
Diffstat (limited to 'package/ethtool/patches/patch-netlink_permaddr_c')
-rw-r--r-- | package/ethtool/patches/patch-netlink_permaddr_c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/package/ethtool/patches/patch-netlink_permaddr_c b/package/ethtool/patches/patch-netlink_permaddr_c new file mode 100644 index 000000000..3230c13df --- /dev/null +++ b/package/ethtool/patches/patch-netlink_permaddr_c @@ -0,0 +1,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> + |