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-Tag: compat-linux-2.6.34.y~10 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=b797c6841708d033a2937a61515e4abe39614301;p=compat-rdma%2Fcompat.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 0000000..206c0c1 --- /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 */