All of lore.kernel.org
 help / color / mirror / Atom feed
* [1/1] ipt_osf: fix ipt_osf compilation on some distros.
@ 2005-02-25  5:07 Evgeniy Polyakov
  2005-02-27 16:32 ` Patrick McHardy
  0 siblings, 1 reply; 8+ messages in thread
From: Evgeniy Polyakov @ 2005-02-25  5:07 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Harald Welte, Patrick McHardy

[-- Attachment #1: Type: text/plain, Size: 813 bytes --]

Some distros have magical header mess, which leads to undefined struct
tcphdr, 
when net/tcp.h is not included directly.
Following patch workarounds it.

Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>

--- orig/osf/linux-2.6/net/ipv4/netfilter/ipt_osf.c~ 2005-02-07
18:55:56.000000000 +0300
+++orig/osf/linux-2.6/net/ipv4/netfilter/ipt_osf.c  2005-02-24
12:49:22.329311368 +0300
@@ -47,6 +47,7 @@

 #include <net/sock.h>
 #include <net/ip.h>
+#include <net/tcp.h>

 #include <linux/netfilter_ipv4/ip_tables.h>


P.S. Should I resend lost patch with Subject line 
"[1/1] libipt_osf: fix iptables-1.3.0rc1 compilation.", which moves
kernel headers in ipt_osf.h into appropriate ifdef/endif?
 
-- 
        Evgeniy Polyakov

Crash is better than data corruption -- Arthur Grabowski

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-03-01 20:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-25  5:07 [1/1] ipt_osf: fix ipt_osf compilation on some distros Evgeniy Polyakov
2005-02-27 16:32 ` Patrick McHardy
2005-02-27 17:10   ` Evgeniy Polyakov
2005-02-27 17:03     ` Patrick McHardy
2005-02-27 17:39       ` Evgeniy Polyakov
2005-03-01 20:32         ` Patrick McHardy
2005-02-27 17:11   ` [1/2] ipt_osf: move kernel headers into appropriate ifdef/endif area Evgeniy Polyakov
2005-02-27 17:13   ` [2/2] ipt_osf: includes cleanup Evgeniy Polyakov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.