netdev
[Top] [All Lists]

[patch 3/4] ip_fw_compat_masq.c build fix

To: davem@xxxxxxxxxx
Subject: [patch 3/4] ip_fw_compat_masq.c build fix
From: akpm@xxxxxxxx
Date: Wed, 23 Jun 2004 23:30:37 -0700
Cc: netdev@xxxxxxxxxxx, akpm@xxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx

net/ipv4/netfilter/ip_fw_compat_masq.c: In function `check_for_demasq':
net/ipv4/netfilter/ip_fw_compat_masq.c:165: error: 'IP_OFFSET' undeclared 
(first use in this function)
net/ipv4/netfilter/ip_fw_compat_masq.c:165: error: (Each undeclared identifier 
is reported only once
net/ipv4/netfilter/ip_fw_compat_masq.c:165: error: for each function it appears 
in.)


Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 25-akpm/net/ipv4/netfilter/ip_fw_compat_masq.c |    1 +
 1 files changed, 1 insertion(+)

diff -puN net/ipv4/netfilter/ip_fw_compat_masq.c~ip_fw_compat_masq-build-fix 
net/ipv4/netfilter/ip_fw_compat_masq.c
--- 25/net/ipv4/netfilter/ip_fw_compat_masq.c~ip_fw_compat_masq-build-fix       
2004-06-23 23:30:10.094664248 -0700
+++ 25-akpm/net/ipv4/netfilter/ip_fw_compat_masq.c      2004-06-23 
23:30:10.097663792 -0700
@@ -24,6 +24,7 @@
 #include <linux/proc_fs.h>
 #include <linux/module.h>
 #include <net/route.h>
+#include <net/ip.h>
 
 #define ASSERT_READ_LOCK(x) MUST_BE_READ_LOCKED(&ip_conntrack_lock)
 #define ASSERT_WRITE_LOCK(x) MUST_BE_WRITE_LOCKED(&ip_conntrack_lock)
_

<Prev in Thread] Current Thread [Next in Thread>