patch-netlink_msgbuff_c 417 B

123456789101112131415
  1. --- ethtool-6.14.orig/netlink/msgbuff.c 2024-10-08 23:24:51.000000000 +0200
  2. +++ ethtool-6.14/netlink/msgbuff.c 2025-04-09 09:16:53.367670289 +0200
  3. @@ -4,10 +4,12 @@
  4. * Data structures and code for flexible message buffer abstraction.
  5. */
  6. +#define _BSD_SOURCE
  7. #include <string.h>
  8. #include <errno.h>
  9. #include <stdlib.h>
  10. #include <stdint.h>
  11. +#include <unistd.h>
  12. #include "../internal.h"
  13. #include "netlink.h"