From 7d04ca2fc4f3983f97722300d7d15255e56ecf09 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Wed, 14 May 2008 15:37:20 +1000 Subject: [PATCH] Add a missing include (This used to be ctdb commit 6131f4b4fc7b65f83f3d57927b23393c84bd2a2b) --- ctdb/common/system_linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctdb/common/system_linux.c b/ctdb/common/system_linux.c index b9de2fb8ecf..9d9c387c5d6 100644 --- a/ctdb/common/system_linux.c +++ b/ctdb/common/system_linux.c @@ -25,6 +25,7 @@ #include "../include/ctdb_private.h" #include "lib/events/events.h" #include +#include #include @@ -184,7 +185,6 @@ static uint16_t tcp_checksum6(uint16_t *data, size_t n, struct ip6_hdr *ip6) uint32_t sum = uint16_checksum(data, n); uint16_t sum2; - int i; sum += uint16_checksum((uint16_t *)(void *)&ip6->ip6_src, 16); sum += uint16_checksum((uint16_t *)(void *)&ip6->ip6_dst, 16); sum += ip6->ip6_plen;