patch-netlink_permaddr_c 377 B

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