011-ping6_use_gnu_source.patch 262 B

1234567891011
  1. --- a/ping6.c
  2. +++ b/ping6.c
  3. @@ -66,6 +66,8 @@ char copyright[] =
  4. * More statistics could always be gathered.
  5. * This program has to run SUID to ROOT to access the ICMP socket.
  6. */
  7. +
  8. +#define _GNU_SOURCE
  9. #include "ping_common.h"
  10. #include <linux/filter.h>