Skip to content
Snippets Groups Projects
Commit 5a86737b authored by Kirill Bugaev's avatar Kirill Bugaev
Browse files

building by gcc on Arch Linux fix

parent 3daaac68
No related branches found
No related tags found
1 merge request!24Support 3689
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
#include <sys/socket.h> #include <sys/socket.h>
#include <linux/types.h> #include <linux/types.h>
#include <linux/sockios.h> #include <linux/sockios.h>
#include <linux/ipv6.h>
# define __USE_KERNEL_IPV6_DEFS # define __USE_KERNEL_IPV6_DEFS
#include <sys/file.h> #include <sys/file.h>
#include <sys/time.h> #include <sys/time.h>
...@@ -68,6 +67,7 @@ ...@@ -68,6 +67,7 @@
#include <ifaddrs.h> #include <ifaddrs.h>
#include <netinet/in.h> #include <netinet/in.h>
#include <linux/ipv6.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#include <linux/types.h> #include <linux/types.h>
#include <linux/errqueue.h> #include <linux/errqueue.h>
......
...@@ -60,6 +60,13 @@ ...@@ -60,6 +60,13 @@
#include "ping.h" #include "ping.h"
/* IPv6 packet information. */
struct in6_pktinfo
{
struct in6_addr ipi6_addr; /* src/dst IPv6 address */
unsigned int ipi6_ifindex; /* send/recv interface index */
};
ping_func_set_st ping6_func_set = { ping_func_set_st ping6_func_set = {
.send_probe = ping6_send_probe, .send_probe = ping6_send_probe,
.receive_error_msg = ping6_receive_error_msg, .receive_error_msg = ping6_receive_error_msg,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment