circular dependency in netfilter headers (ip_conntrack.h)

Alex Riesen (Alexander.Riesen@synopsys.com)
Fri, 29 Nov 2002 17:21:36 +0100


gmake[2]: Circular /export/home/riesen-pc0/riesen/compile/v2.4.20/include/linux/netfilter_ipv4/ip_conntrack_helper.h <- /export/home/riesen-pc0/riesen/compile/v2.4.20/include/linux/netfilter_ipv4/ip_conntrack.h dependency dropped.

I remember someone fixing it, but couldn't find the patch.
FWIW:

--- 2.4.20/include/linux/netfilter_ipv4/ip_conntrack.h 2002-08-13 06:01:49.000000000 +0200
+++ 2.4.20+/include/linux/netfilter_ipv4/ip_conntrack.h 2002-11-29 17:09:16.000000000 +0100
@@ -148,7 +148,8 @@ struct ip_conntrack_expect
union ip_conntrack_expect_help help;
};

-#include <linux/netfilter_ipv4/ip_conntrack_helper.h>
+struct ip_conntrack_helper;
+
struct ip_conntrack
{
/* Usage count in here is 1 for hash table/destruct timer, 1 per skb,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/