From: Felix Fietkau Date: Mon, 29 Sep 2008 20:46:12 +0000 (-0700) Subject: Fix compilation on 2.6.27. As 2.6.27 is not yet released X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e43317724ae2e8f000804a8b02b8757a239c0e0a;p=openwrt%2Fstaging%2Fblogic.git Fix compilation on 2.6.27. As 2.6.27 is not yet released we use ifndef on ETH_P_PAE. Signed-off-by: Felix Fietkau Signed-off-by: Luis R. Rodriguez --- diff --git a/compat/compat.h b/compat/compat.h index 33cb98cc0010..0926df6c86d1 100644 --- a/compat/compat.h +++ b/compat/compat.h @@ -6,6 +6,11 @@ #include #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28)) +#include + +#ifndef ETH_P_PAE +#define ETH_P_PAE 0x888E /* Port Access Entity (IEEE 802.1X) */ +#endif #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28)) */ #endif /* LINUX_26_COMPAT_H */