[PATCH] struct sockaddr_ll usage needs to include linux/if_packet.h
Michael Tokarev
mjt at tls.msk.ru
Fri May 4 14:41:21 CEST 2012
Signed-off-by: Michael Tokarev <mjt at tls.msk.ru>
---
src/raw_socket_device.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/raw_socket_device.c b/src/raw_socket_device.c
index 1dd726f..78de359 100644
--- a/src/raw_socket_device.c
+++ b/src/raw_socket_device.c
@@ -33,6 +33,9 @@
#include "xalloc.h"
#if defined(PF_PACKET) && defined(ETH_P_ALL) && defined(AF_PACKET)
+
+#include <linux/if_packet.h>
+
static char *device_info;
static uint64_t device_total_in = 0;
--
1.7.10
More information about the tinc-devel
mailing list