From: Pavel Roskin Date: Wed, 7 Apr 2010 05:26:52 +0000 (-0400) Subject: compat: add net/net_namespace.h stub for Linux 2.6.23 and older X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b797c6841708d033a2937a61515e4abe39614301;p=openwrt%2Fstaging%2Fblogic.git compat: add net/net_namespace.h stub for Linux 2.6.23 and older This obviates a good part of 06-header-changes.patch in compat-wireless. Signed-off-by: Pavel Roskin --- diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h new file mode 100644 index 000000000000..206c0c15b25b --- /dev/null +++ b/include/net/net_namespace.h @@ -0,0 +1,8 @@ +#ifndef _COMPAT_NET_NET_NAMESPACE_H +#define _COMPAT_NET_NET_NAMESPACE_H 1 + +#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,23)) +#include_next +#endif /* (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,23)) */ + +#endif /* _COMPAT_NET_NET_NAMESPACE_H */