circular dependency in netfilter headers (ip_conntrack.h)

From: Alex Riesen (Alexander.Riesen@synopsys.com)
Date: Fri Nov 29 2002 - 11:21:36 EST


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/



This archive was generated by hypermail 2b29 : Sat Nov 30 2002 - 22:00:22 EST