Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 106979 Details for
Bug 159371
net-firewall/ebtables doesn't compile against linux-headers-2.6.19 because of missing linux/config.h
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
include linux/config.h only when __KERNEL__ defined
ebtables-fix-linux-config-h-error.patch (text/plain), 1.04 KB, created by
Richard Benjamin Voigt
on 2007-01-14 18:29:37 UTC
(
hide
)
Description:
include linux/config.h only when __KERNEL__ defined
Filename:
MIME Type:
Creator:
Richard Benjamin Voigt
Created:
2007-01-14 18:29:37 UTC
Size:
1.04 KB
patch
obsolete
>--- include/linux/netfilter_bridge.h.orig 2003-11-02 12:22:56.000000000 -0600 >+++ include/linux/netfilter_bridge.h 2007-01-14 12:30:29.185041178 -0600 >@@ -1,18 +1,6 @@ > #ifndef __LINUX_BRIDGE_NETFILTER_H > #define __LINUX_BRIDGE_NETFILTER_H > >-/* bridge-specific defines for netfilter. >- */ >- >-#include <linux/config.h> >-#include <linux/netfilter.h> >-#if defined(__KERNEL__) && defined(CONFIG_BRIDGE_NETFILTER) >-#include <asm/atomic.h> >-#if defined(CONFIG_VLAN_8021Q) || defined(CONFIG_VLAN_8021Q_MODULE) >-#include <linux/if_ether.h> >-#endif >-#endif >- > /* Bridge Hooks */ > /* After promisc drops, checksum checks. */ > #define NF_BR_PRE_ROUTING 0 >@@ -30,6 +18,18 @@ > > #ifdef __KERNEL__ > >+/* bridge-specific defines for netfilter. >+ */ >+ >+#include <linux/config.h> >+#include <linux/netfilter.h> >+#ifdef CONFIG_BRIDGE_NETFILTER >+#include <asm/atomic.h> >+#if defined(CONFIG_VLAN_8021Q) || defined(CONFIG_VLAN_8021Q_MODULE) >+#include <linux/if_ether.h> >+#endif >+#endif >+ > enum nf_br_hook_priorities { > NF_BR_PRI_FIRST = INT_MIN, > NF_BR_PRI_NAT_DST_BRIDGED = -300,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 159371
: 106979 |
106980
|
126094
|
126245
|
126246